๐ŸŒ
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; }
๐ŸŒ
CodePen
codepen.io โ€บ im1010ioio โ€บ pen โ€บ ZEgEMxm
CSS border style
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset.
๐ŸŒ
CodePen
codepen.io โ€บ aftrshok โ€บ pen โ€บ ozmKbK
CSS Borders
The effect depends on the border-color ... border</li> </ul> <p>The <span>border-style</span> property can have from one to four values (for the top border, right border, bottom border, and the left border).</p> <div> <h2>Example</h2> ...
๐ŸŒ
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 โ€บ crslp โ€บ pen โ€บ WNwXXYe
Elegant CSS Borders
A collection of modern and elegant Borders, using the css propertie box-shadow....
๐ŸŒ
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
Find elsewhere
๐ŸŒ
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 โ€บ flaviocopes โ€บ pen โ€บ yraaxq
CSS Border style playground
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset.
๐ŸŒ
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 โ€บ IIFLIPII โ€บ pen โ€บ pWGVjg
Border Button Design Inspiration
Just playing around with some button ideas with borders and :before & :after pseudo elements. Some are working with plain transitions, others use @keyf...
๐ŸŒ
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 ...
๐ŸŒ
FreeFrontend
freefrontend.com โ€บ css-border-examples
61 CSS Border Examples
March 6, 2017 - Explore our updated CSS borders collection. Download free code for gradient borders, animated outlines, and organic shapes. View high-performance CodePen demos.
๐ŸŒ
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 ...