fix
Chris Demeke
Everyone can be a semi web designer now.
Proceed(5)
Thanks for your like.
You've done it, haven't you?
{"sid":"nUn","rid":1,"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-left" 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-left {
  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: 1px solid rgb(232,240,243);
  -webkit-border-radius: 8px 0 0 8px;
  border-radius: 8px 0 0 8px;
  font: normal 16px/normal "open-sans", Helvetica, sans-serif;
  color: rgb(4, 119, 188);
  text-align: center;
  -o-text-overflow: clip;
  text-overflow: clip;
  background: -webkit-linear-gradient(-90deg, rgb(255,255,255) 0, rgb(232,240,243) 100%), rgba(0,0,0,0);
  background: -moz-linear-gradient(180deg, rgb(255,255,255) 0, rgb(232,240,243) 100%), rgba(0,0,0,0);
  background: linear-gradient(180deg, rgb(255,255,255) 0, rgb(232,240,243) 100%), rgba(0,0,0,0);
  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.34902) ;
  box-shadow: 0 2px 1px 0 rgba(0,0,0,0.34902) ;
  -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-left:hover {
  background: rgba(0,0,0,0);
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
}

.language-tab-left:active {
  color: rgb(74, 74, 74);
  background: -webkit-linear-gradient(-90deg, rgb(196,200,202) 0, rgb(248,248,248) 100%), rgba(0,0,0,0);
  background: -moz-linear-gradient(180deg, rgb(196,200,202) 0, rgb(248,248,248) 100%), rgba(0,0,0,0);
  background: linear-gradient(180deg, rgb(196,200,202) 0, rgb(248,248,248) 100%), rgba(0,0,0,0);
  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.498039) inset, 0 2px 1px 0 rgba(0,0,0,0.34902) ;
  box-shadow: 0 4px 6px 0 rgba(0,0,0,0.498039) inset, 0 2px 1px 0 rgba(0,0,0,0.34902) ;
}