html - How do I make link the highlight link conform to CSS shape -
how make link outline (blue) conform css shape? mean outline should in same shape link border.
would mind linking, or helping me find right words describe it, can research it, or maybe basic fixes?
you can use box-shadow
(hover see )
button { width: 200px; height: 100px; background: cornflowerblue; border-radius: 5px 25px 5px 25px; border-bottom: 2px solid black; border-top: 2px solid black; border-left:0; border-right:0; outline: 0; } button:hover { box-shadow: 0 0 0 5px orange; }
<button></button>
Comments
Post a Comment