HTML and CSS Reference
In-Depth Information
What you have left now with is from the column of
“
what can't be done with CSS”
: the background.
4. Stack the
Stack the backgrounds one after another to allow a
backgrounds
dynamic change of the text inside each button.
“
Learn from it
” to easily be “
Learn from Monoplate
”
without having the background interrupted.
If you had them positioned otherwise the width of
the
default
state would have been limited up until it
reached the
:hover
background.
Because the width of the button is unknown and
can change anytime, go with a dynamic width.