Search
 
SCRIPT & CODE EXAMPLE
 

CSS

button slant right with icon

<div class='outer'>
  Call me back
</div>
Comment

button slant right with icon

.outer {
  position: relative;
  height: 75px;
  width: 300px;
  text-align: center;
  line-height: 75px;
  color: white;
  text-transform: uppercase;
}
.outer:before,
.outer:after {
  position: absolute;
  content: '';
  top: 0px;
  height: 100%;
  width: 55%;
  background: purple;
  border: 2px solid white;
  border-left-width: 3px;
  z-index: -1;
}
.outer:before {
  left: 0px;
  border-radius: 20px;
  border-right: none;
  transform: skew(20deg);
  transform-origin: top left;
  background: seagreen;
  border-color: red;
}
.outer:after {
  right: 0px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-left: none;
  background: yellowgreen;
  border-color: maroon;
}

/* Just for demo of responsive nature */

.outer{
  transition: all 1s;
}
.outer:hover{
  height: 100px;
  width: 400px;
  line-height: 100px;
}
body{
  background: lightblue;
}
Comment

PREVIOUS NEXT
Code Example
Css :: A shortcut to the start_requests method with scrapy 
Css :: set opacity except one 
Css :: long text coming out of the block 
Css :: ios sms css 
Css :: how do I make secret keys available in gatsby-config from Netlify 
Css :: RichText.Content add className 
Css :: javafx css rectangle outline 
Css :: css validation 
Css :: css file verlinken 
Css :: oracle apex interactive report odd even 
Css :: bolock rotating the screen on your website with css 
Css :: css cap rows paragraph 
Css :: webkit css audio code 
Css :: Structs in Golang 
Css :: set default scroll position css 
Css :: count elements with css if only you have just 2 - no more or less 
Css :: Text zentrieren 
Css :: flot css mdn 
Css :: Basic sintax media Query 
Css :: spinner 
Css :: border top right left css 
Css :: putting an object in front of a page javascript 
Typescript :: how to remove list dots in li bootstrap 
Typescript :: jquery id that starts with 
Typescript :: check if file exists bash 
Typescript :: axis limits matlab 
Typescript :: python requests firefox headers 
Typescript :: sort array by date typescript 
Typescript :: typescript loop 
Typescript :: angular refresh page without reloading 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =