Search
 
SCRIPT & CODE EXAMPLE
 

CSS

button slanted slide on hover

div {
  position: relative;
  display: inline-block;
  padding: 15px 70px;
  border: 5px solid #B17461;
  color: #B17461;
  font-size: 30px;
  font-family: arial;
  transition: color .5s;
  overflow:hidden;
}
div:before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 130%; height: 100%;
  background: #B17461;
  z-index: -1;
  transform-origin:0 0 ;
  transform:translateX(-100%) skewX(-45deg);
  transition: transform .5s;
}
div:hover {
  color: #fff;
}
div:hover:before {
  transform: translateX(0) skewX(-45deg);
}
Comment

PREVIOUS NEXT
Code Example
Css :: freecodecamp hide content using css 
Css :: specific id under class css 
Css :: is there a min-left css attribute 
Css :: modificar la clase segun id que está dentro de un span css 
Css :: Evaluate ruby code inside html :css filter 
Css :: convert css in scss 
Css :: css packer cli 
Css :: how to bring a text in middle center of a tile css in anchor tag inline elements 
Css :: ffmpeg add text with positions relative to video & text dimensions 
Css :: elementsone after other css 
Css :: scss @content 
Css :: make image has fixed height looks great 
Css :: box-shadow um ganzen div 
Css :: cant change button higeht in @media 
Css :: how to align text in css 
Css :: html css limit page to a4 
Css :: how to make a width infinite and hidden using css 
Css :: mvc how to css file linked 
Css :: bootstrap 
Css :: how to resolve issue in wordpress css isn;t load 
Css :: css3 
Css :: sass @use 
Css :: what is a css do follow attribute content: "(dofollow)" !important; 
Css :: css - global -Typogryphy 
Css :: formatage date css 
Css :: htnl css 
Css :: css animation cheat sheet 
Css :: absolute vertical middle quasar 
Css :: css sign in with google 
Css :: edge ontouchmove does not work correctly 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =