More options to border-style than solid or dotted. Check out the demo below.
DEMO
none
hidden
dotted
dashed
solid
double
groove
ridge
inset
outset
HTML
<div class="wrapper-border"> <div class="tile border-none">none</div> <div class="tile border-hidden">hidden</div> <div class="tile border-dotted">dotted</div> <div class="tile border-dashed">dashed</div> <div class="tile border-solid">solid</div> <div class="tile border-double">double</div> <div class="tile border-groove">groove</div> <div class="tile border-ridge">ridge</div> <div class="tile border-inset">inset</div> <div class="tile border-outset">outset</div> </div>
CSS
.wrapper-border { display: flex; flex-flow: wrap; align-items: center; gap: 1em; } .wrapper-border .tile { height: 100px; width: 100px; display: flex; align-items: center; justify-content: center; background-color: LightYellow; border-color: Crimson; border-width: 5px; } .wrapper-border .border-none { border-style: none; } .wrapper-border .border-hidden { border-style: hidden; } .wrapper-border .border-dotted { border-style: dotted; } .wrapper-border .border-dashed { border-style: dashed; } .wrapper-border .border-solid { border-style: solid; } .wrapper-border .border-double { border-style: double; } .wrapper-border .border-groove { border-style: groove; } .wrapper-border .border-ridge { border-style: ridge; } .wrapper-border .border-inset { border-style: inset; } .wrapper-border .border-outset { border-style: outset; }
Comments
Post a Comment