[Design] Change buttons on hover on subscribe

This commit is contained in:
Ceda EI 2020-02-02 02:42:57 +05:30
parent c1b3690df8
commit 1cbf2e9554
1 changed files with 5 additions and 4 deletions

View File

@ -110,17 +110,18 @@ body {
} }
a:hover, a:active { a:hover, a:active {
font-size: 0; font-size: 0;
color: #FFF;
background-color: #000;
text-decoration: none; text-decoration: none;
transition-duration: 0.2em; transition-duration: 0.2em;
background-color: rgba(0, 0, 0, 0.25);
border-radius: 30px;
} }
a:hover::after { a:hover::after {
transition-duration: 0.2em;
content: attr(x-text); content: attr(x-text);
position: relative; position: relative;
top: 50px; top: 50px;
font-size: 1rem; font-size: 1.1rem;
text-decoration: none; text-decoration: bold;
} }
} }
} }