Search
 
SCRIPT & CODE EXAMPLE
 

CSS

give transition on box shadow

div {
  height: 200px;
  width: 200px;
  box-shadow: 0;
  transition: box-shadow 1s;
  border: 1px solid #eee;
}

div:hover {
  box-shadow: 0 0 3px #515151;
  ;
}
Comment

box shadow css transition

/* Scale up the box */
.box:hover {
  transform: scale(1.2, 1.2);
}

/* Fade in the pseudo-element with the bigger shadow */
.box:hover::after {
  opacity: 1;
}
Comment

PREVIOUS NEXT
Code Example
Css :: css table td width not working 
Css :: css media query aspect ratio 
Css :: css trim text 
Css :: position relative get in center 
Css :: Tailwindcss version check 
Css :: how to center items in css 
Css :: scrollable table vertical 
Css :: backwards text css 
Css :: css url do not change color of visited links 
Css :: css transparent input text box 
Css :: background image css django 
Css :: css animation image up and down 
Css :: who created css 
Css :: css text bottom to top 
Css :: centred div 
Css :: box-shadow 
Css :: how to write css for input type text 
Css :: reduce image size css 
Css :: css not class 
Css :: how to do text center of select element 
Css :: html input background color 
Css :: sm size website 
Css :: css minifier api 
Css :: how to remove default styling of a tag 
Css :: large input box bootstrap 4 
Css :: how to make slideshow not go over navigation bar 
Css :: how to add a class to a paragraph in css 
Css :: css transition slide up 
Css :: how to change selection color 
Css :: css not last child 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =