JSFiddle - React, Tailwind, and code Playground
by Kocsten
HTML
<a href="#" id="asertumolgim" class="mukalisag">Подписаться - на zornet.ru</a>
CSS
.mukalisag {
font: 18px/1.5 Helvetica, Arial, sans-serif;
}
a {
color: white;
text-decoration: none;
}
#asertumolgim {
background: #3b5e82;
border: 2px solid #eee;
height: 31px;
width: 115px;
margin: 37px 0 0 41px;
padding: 3px 0 0 9px;
overflow: hidden;
display: block;
-webkit-transition: All 0.5s cubic-bezier(0.25, 0.1, 0.18, 0.88);
-moz-transition: All 0.5s ease;
-o-transition: All 0.5s ease;
-ms-transition: All 0.5s ease;
transition: All 0.5s cubic-bezier(0.25, 0.1, 0.15, 0.88);
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 7px;
background-image: -webkit-linear-gradient(top, rgba(12, 12, 12, 0.02), rgba(8, 8, 8, 0.22));
background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
background-image: linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
}
#asertumolgim:hover {
width: 229px;
}