html5 - create this shape using css3 and html -


css3 button

this demo image how create button in css3. please me anyone.

funny exercise, this?

div {      height: 40px;      width: 20px;      border-radius: 8px;      background: rgb(231,76,60);      position: relative;  }  div:before {      content: '';      height: 16px;      width: 8px;      border-radius: 3px;      background: rgb(221,221,221);      display: block;      position: absolute;      top: 6px;      left: 6px;  }
<div></div>


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -