update 'after' tutorial component

pull/4476/head
Conduitry 6 years ago
parent 9deebfe986
commit 155bfbdc04

@ -1,12 +1,19 @@
<style> <style>
button { button {
font-family: 'Comic Sans MS', cursive; height: 4rem;
font-size: 2em; width: 8rem;
padding: 0.5em 1em; background-color: #aaa;
color: royalblue; border-color: #f1c40f;
background: gold; color: #f1c40f;
border-radius: 1em; font-size: 1.25rem;
box-shadow: 2px 2px 4px rgba(0,0,0,0.5); background-image: linear-gradient(45deg, #f1c40f 50%, transparent 50%);
background-position: 100%;
background-size: 400%;
transition: background 300ms ease-in-out;
}
button:hover {
background-position: 0;
color: #aaa;
} }
</style> </style>

Loading…
Cancel
Save