Great article, welcome to Dev ๐
This looked like a fun challenge so I thought I'd make a quick mock up
Each one is wrapped in a decorative-space div but that's just to make the cool effect from your first gif ๐
decorative-space
I didn't like the way the outline worked with the way I did it so I added my own outline using an iset box-shadow.
.primary-button:focus { outline: none; color: #396d83; } .primary-button:focus .primary-button__text { box-shadow: inset 0 0 0 1px #354a76, 0 0 0 1px #fff; border-radius: 4px; }
Happy Blogging ๐
Wow! So quick! I love it!!!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great article, welcome to Dev ๐
This looked like a fun challenge so I thought I'd make a quick mock up
Each one is wrapped in a
decorative-space
div but that's just to make the cool effect from your first gif ๐I didn't like the way the outline worked with the way I did it so I added my own outline using an iset box-shadow.
Happy Blogging ๐
Wow! So quick! I love it!!!