Search
 
SCRIPT & CODE EXAMPLE
 

CSS

smooth transition css on hover

You want smooth transition in and out?
put the transition in the parent selector

.btn {
  	transition: 200ms;
}

.btn:hover {
	transform: translateY(5px)
}

for shadow

.card-hover {
  transition: 200ms;
}

.card-hover:hover {
  box-shadow: 4px 4px 0px 0px rgba(192,23,93,0.75);
  -webkit-box-shadow: 4px 4px 0px 0px rgba(192,23,93,0.75);
  -moz-box-shadow: 4px 4px 0px 0px rgba(192,23,93,0.75);
}
Comment

PREVIOUS NEXT
Code Example
Css :: hide scrollbar but still scroll 
Css :: css @media measurements 
Css :: texto vertical css 
Css :: centralizar div no meio da tela 
Css :: how to set css style using jquery 
Css :: resize logo html css 
Css :: symfony version check 
Css :: span wrap html 
Css :: vertcial text css 
Css :: css selector not checked input label 
Css :: website make text not highlightable 
Css :: css glow effect 
Css :: how to center div in css 
Css :: center in grid 
Css :: prevent screen reader from reading text out loud css 
Css :: make mat card scrollable 
Css :: tailwind input field hide arrows 
Css :: add space between all html elements flex 
Css :: silver hex code 
Css :: invert png color css 
Css :: pointer-events 
Css :: css on hover do something to children 
Css :: media max width css 
Css :: mirror css a pseudo :after or :before 
Css :: how to css with data arrtibute 
Css :: cs and cd in jfet 
Css :: css selector to change long bot description top.gg 
Css :: background color css rgb 
Css :: html5 video hide timeline 
Css :: cut word css 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =