fix
Christian Heilmann
EnjoyCSS is a WYSIWYG editor for CSS http://enjoycss.com/start/ - includes pseudo selector generation.
Proceed(6)
Thanks for your like.
You've done it, haven't you?
{"sid":"nUl","rid":3,"page":"code","page_params":[],"username":"yiningsoong"}
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
<input type="button" class="language-tab" value="English" />
<script type="text/javascript" script-name="open-sans" src="http://use.edgefonts.net/open-sans.js"></script>
Copy to clipboard
CSS
LESS
SCSS
.language-tab {
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  width: 61.5px;
  height: 41.5px;
  cursor: pointer;
  padding: 10px 20px;
  border: none;
  font: normal 16px/normal "open-sans", Helvetica, sans-serif;
  color: #0477BC;
  text-align: center;
  -o-text-overflow: clip;
  text-overflow: clip;
  background: -webkit-linear-gradient(-90deg, #FFFFFF 0, #E8F0F3 100%);
  background: -moz-linear-gradient(180deg, #FFFFFF 0, #E8F0F3 100%);
  background: linear-gradient(180deg, #FFFFFF 0, #E8F0F3 100%);
  background-position: 50% 50%;
  -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;
  -webkit-box-shadow: 0 2px 1px 0 rgba(0,0,0,0.35) ;
  box-shadow: 0 2px 1px 0 rgba(0,0,0,0.35) ;
}

.language-tab:hover {
  background-position: 50% 50%;
  -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;
  -webkit-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -moz-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
}

.language-tab:active {
  color: #4A4A4A;
  background: -webkit-linear-gradient(-90deg, #C4C8CA 0, #F8F8F8 100%);
  background: -moz-linear-gradient(180deg, #C4C8CA 0, #F8F8F8 100%);
  background: linear-gradient(180deg, #C4C8CA 0, #F8F8F8 100%);
  background-position: 50% 50%;
  -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;
  -webkit-box-shadow: 0 4px 6px 0 rgba(0,0,0,0.5) inset, 0 2px 1px 0 rgba(0,0,0,0.35) ;
  box-shadow: 0 4px 6px 0 rgba(0,0,0,0.5) inset, 0 2px 1px 0 rgba(0,0,0,0.35) ;
}