fix
Amira Dhalla
Cool tool alert: a CSS code generator http://enjoycss.com/start/ #teachtheweb
Proceed(8)
Thanks for your like.
You've done it, haven't you?
{"sid":"xu","rid":4,"page":"code","page_params":[],"username":""}
Skip
Next

We'll add only required prefixes
for browsers you gonna choose,
based on data from caniuse.com
4+
4+
9+
10.5+
4+
5.0+
2.1+
7+
Hide default rules
Copy to clipboard
HTML
<div class="enjoy-css">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>
Copy to clipboard
CSS
LESS
SCSS
.enjoy-css {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  width: 270px;
  position: relative;
  margin: 1em auto 80px;
  padding: 50px 40px;
  border: none;
  -webkit-border-radius: 220px / 120px;
  border-radius: 220px / 120px;
  font: normal 200%/normal "Times New Roman", Times, serif;
  color: rgb(255, 255, 255);
  text-align: center;
  -o-text-overflow: clip;
  text-overflow: clip;
  background: -webkit-linear-gradient(-90deg, rgb(46,136,196) 0, rgb(7,86,152) 100%), rgba(0,0,0,0);
  background: -moz-linear-gradient(180deg, rgb(46,136,196) 0, rgb(7,86,152) 100%), rgba(0,0,0,0);
  background: linear-gradient(180deg, rgb(46,136,196) 0, rgb(7,86,152) 100%), rgba(0,0,0,0);
  -webkit-background-origin: padding-box;
  background-origin: padding-box;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-background-size: auto auto;
  background-size: auto auto;
}

.enjoy-css::before {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  width: 30px;
  height: 30px;
  position: absolute;
  content: "";
  bottom: -20px;
  left: 50px;
  border: none;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  font: normal 100%/normal "Times New Roman", Times, serif;
  color: rgba(0,0,0,1);
  -o-text-overflow: clip;
  text-overflow: clip;
  background: rgb(7, 86, 152);
  text-shadow: none;
}

.enjoy-css::after {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  width: 15px;
  height: 15px;
  position: absolute;
  content: "";
  bottom: -30px;
  left: 30px;
  border: none;
  -webkit-border-radius: 15px;
  border-radius: 15px;
  font: normal 100%/normal "Times New Roman", Times, serif;
  color: rgba(0,0,0,1);
  -o-text-overflow: clip;
  text-overflow: clip;
  background: rgb(7, 86, 152);
  text-shadow: none;
}