CodePen
codepen.io โบ tag โบ border
Pens tagged 'border' on CodePen
CodePen doesn't work very well without JavaScript ยท We're all for progressive enhancement, but CodePen is a bit unique in that it's all about writing and showing front end code, including JavaScript. It's required to use most of the features of CodePen ยท Need to know how to enable it?
CodePen
codepen.io โบ Mahe76 โบ pen โบ vYgEJZw
CSS border style properties
h2 { margin: 10px 20px; } .border-box { display: flex; flex-direction: column; margin: 10px 20px; } .box-style { background-color: rgb(186, 85, 211, 0.1); padding: 1rem; width: 200px; margin-bottom: 1rem; } .b-t-s { border: 4px #ba55d3; border-top-style: solid; } .b-r-s { border: 4px #ba55d3; border-right-style: solid; } .b-bt-s { border: 4px #ba55d3; border-bottom-style: solid; } .b-l-s { border: 4px #ba55d3; border-left-style: solid; } .one-value { border: 4px #ba55d3; border-style: solid; } .two-value { border: 4px #ba55d3; border-style: inset outset; } .three-value { border: 4px #ba55d3; border-style: dashed hidden double; } .four-value { border: 4px #ba55d3; border-style: dashed groove dotted ridge; }
Videos
07:13
HTML & CSS for Absolute Beginners: Box model - Borders - YouTube
Learn CSS Border Animations in 6 Minutes
04:27
Learn CSS borders in 4 minutes! ๐ผ - YouTube
Learn CSS borders in 2 minutes
08:05
CSS Tutorial: CSS Borders (dotted, dashes, solid, double, groove) ...
07:15
Advanced CSS borders (animations, shapes, object-fit) โ web design ...
CodePen
codepen.io โบ Arkmont โบ pen โบ ybqgRp
CSS Border Style Examples
<div class="border solid">A solid border</div> <div class="border dashed">A dashbed border</div> <div class="border dotted">A dotted border</div> <div class="border double">A double border</div> <div class="border groove">A groove border</div> <div class="border ridge">A ridge border</div> <div class="border inset">An inset border</div> <div class="border outset">An outset border</div> <div class="border multi">Multiple borders</div> <div class="border hidden">A hidden border</div> <div class="border none">No border</div> <!-- Sponsored CodePen by Kalob.io --> <a href="https://kalob.io/books/css-masterclass/" style='position: absolute; bottom: 0; right: 0; padding: 10px 20px; color: #fff; z-index: 100; text-decoration: none; background-color: #007aff; border-bottom-left-radius: 2px; font-weight: 300; font-family: sans-serif;'> Free CSS Masterclass ebook @ Kalob.io </a>
CodePen
codepen.io โบ yochans โบ pen โบ BaWPKWV
CSS | Semicircular border design
<div class="container"> <div class="semicircle-top"></div> <div class="semicircle-bottom"></div> <div class="semicircle-left"></div> <div class="semicircle-right"></div> </div> </div> <p class="link"><a href="https://1-notes.com/css-semicircle-border-design/" target="_blank" rel="noopener">CSS | Semicircular border design | ONE NOTES</a></p> !
CodePen
codepen.io โบ ananyaneogi โบ pen โบ mdPbJZO
CSS gradient borders
body { margin: 60px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-gap: 60px; } .border { font-size: 1.6rem; display: grid; place-items: center; min-height: 200px; border: 8px solid; padding: 1rem; } .full { border-image: linear-gradient(45deg, turquoise, greenyellow) 1; } .sides { border-image: linear-gradient(to left, turquoise, greenyellow) 1 0; } .sides-2 { border-image: linear-gradient(to bottom, turquoise, greenyellow) 0 1; } .linear-repeating { border-width: 10px; border-image: repeating-linear-gradient(45deg, turquoise, pink 4%) 1; } .radial-repeatin
CodePen
codepen.io โบ buildhouse โบ pen โบ MbbXEo
CSS Borders - 6
<h3>Border Styles</h3> <p class="dashed">.dashed{border-style: dashed;}</p> <p class="dotted">.dotted{border-style: dotted;}</p> <p class="solid">.solid{border-style: solid;}</p> <p class="groove">.groove{border-style: groove;}</p> <p class="ridge">.ridge{border-style: ridge;}</p> <p class="inset">.inset{border-style: inset;}</p> <p class="outset">.outset{border-style: outset;}</p> <p class="double">.double{border-style: double;}</p> <p class="none">.none{border-style: none;}</p> <h3>Border Colors</h3> <p class="red">.red{border-style: dashed; border-color: red;}</p> <p class="blue">.blue{bord
CodePen
codepen.io โบ x-doggy โบ pen โบ ZEENQQz
CSS border styles demonstration
</p> <p class="borders border-dashed">dashed</p> <p class="borders border-dotted">dotted</p> <p class="borders border-double">double</p> <p class="borders border-groove">groove</p> <p class="borders border-hidden">hidden</p> <p class="borders border-inset">inset</p> <p class="borders border-outset">outset</p> <p class="borders border-ridge">ridge</p> <p class="borders border-solid">solid</p> <p class="borders border-inherit">inherit</p>
CodePen
codepen.io โบ seyedi โบ pen โบ LZMrqR
border-style
In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template. If you need things in the <head> of the document, put that code here. ... The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https. โ Insert the most common viewport meta tag ยท CSS ...
CodePen
codepen.io โบ web-dot-dev โบ pen โบ GRrvyxY
Learn CSS - Border styles
<main> <div class="auto-grid"> <div class="preview" style="border-style: dotted"> <code>border-style: dotted;</code> </div> <div class="preview" style="border-style: dashed"> <code>border-style: dashed;</code> </div> <div class="preview" style="border-style: solid"> <code>border-style: solid;</code> </div> <div class="preview" style="border-style: double"> <code>border-style: double;</code> </div> <div class="preview" style="border-style: groove"> <code>border-style: groove;</code> </div> <div class="preview" style="border-style: ridge"> <code>border-style: ridge;</code> </div> <div class="preview" style="border-style: inset"> <code>border-style: inset;</code> </div> <div class="preview" style="border-style: outset"> <code>border-style: outset;</code> </div> </div> </main>
CodePen
codepen.io โบ uiswarup โบ pen โบ RBByzW
border-animation-css
<a href="https://www.youtube.com/watch?v=QD-EPoj29EU&t=31s" target="_blank"> <section> <div class="container"> <div class="background-img"> <div class="box"> <span></span> <span></span> <span></span> <span></span> <div class="content"> <h2>My animated Border </h2> <p><a>All our modules are designed to play nicely with responsive of course. At the end of the day it comes down to the theme you use - our code doesn't get in your way.</a></p> </div> </div> </div> </div> </section> </a> ! CSS Options ยท
CodePen
codepen.io โบ tag โบ border-style
Pens tagged 'border-style' on CodePen
CodePen doesn't work very well without JavaScript ยท We're all for progressive enhancement, but CodePen is a bit unique in that it's all about writing and showing front end code, including JavaScript. It's required to use most of the features of CodePen ยท Need to know how to enable it?
CodePen
codepen.io โบ hollyb โบ pen โบ gEVKrx
Border Lines created with Pseudo Elements in CSS
In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template. If you need things in the <head> of the document, put that code here. ... The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https. โ Insert the most common viewport meta tag ยท CSS preprocessors help make authoring CSS easier.
CodePen
codepen.io โบ saigowthamr โบ pen โบ xzdxzO
Border image
In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template. If you need things in the <head> of the document, put that code here. ... The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https. โ Insert the most common viewport meta tag ยท CSS ...
CodePen
codepen.io โบ syalakshay โบ pen โบ aJbzye
Border Design Css with Before & After Css
In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template. If you need things in the <head> of the document, put that code here. ... The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https. โ Insert the most common viewport meta tag ยท CSS ...