30+ Easy CSS Border Examples (Free Downloads)
Enjoy these CSS Border Code Examples. The authors made them open source so you can modify them and add them to your own web project right away.
NEW
🔥 Auto-Apply to 100's of Jobs With AI 🔥
👉
Click to visit: ApplyFox.ai
1. CSS Gradient Rounded Borders
This pen shows how CSS gradients can be applied to a rounded border.
Author: George W. Park (GeorgePark)
Links: Source Code / Demo
Created on: April 9, 2018
Made with: HTML, CSS
Tags: css, layout, design, gradients, border
2. Reddit Border Inset Challenge
Author: David Darnes (daviddarnes)
Links: Source Code / Demo
Created on: February 19, 2018
Made with: HTML, SCSS
3. Pure CSS Circular Border Patterns (Single-Element)
The "Hello, Gorgeous!" is something I saw in neon at the Scandic Grand Central hotel in Stockholm a little over a year ago. I can't afford staying at that sort of place, but I happened to see a photo of the sign as I was mindlessly going from link to link after the Helloween show at Fry...Read More
Author: Ana Tudor (thebabydino)
Links: Source Code / Demo
Created on: December 27, 2019
Made with: Pug, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: Babel
HTML Pre-processor: Pug
Tags: sass, clip-path
4. Interactive Button Border
Button with an interactive border gradient. More: https://www.stefanjudis.com/today-i-learned/background-clip-is-configurable-for-every-background-gradient-separately/
Author: Tobias Reich (electerious)
Created on: January 31, 2019
Made with: HTML, SCSS, Babel
Tags: button, border, cssvariables, background-clip, animation
5. Fitted Border Image The Easy Way
Author: ShopTalk Show (shoptalkshow)
Links: Source Code / Demo
Created on: December 12, 2019
Made with: HTML, SCSS
6. Map-inspired CSS Border (Single Element + CSS)
Author: Stephy (blindingstars)
Links: Source Code / Demo
Created on: March 20, 2019
Made with: HTML, SCSS
7. Magic Borders
Try to have a dynamic and responsive table that has borders only between cells.
Author: Saeed Alipoor (saeedalipoor)
Links: Source Code / Demo
Created on: February 2, 2019
Made with: HTML, SCSS
Tags: css, flex, table, trick, responsive
8. Rounded Side Border Radius
Author: Joe (joeashworth)
Links: Source Code / Demo
Created on: January 17, 2019
Made with: HTML, CSS
9. Gradient CSS Border (Without Pseudo Elements)
Author: Stefan Judis (stefanjudis)
Links: Source Code / Demo
Created on: January 18, 2019
Made with: HTML, SCSS
10. Blurred Border CSS
Author: Ana Tudor (thebabydino)
Links: Source Code / Demo, Tutorial
Created on: March 15, 2019
Made with: HTML, SCSS
Tags: filter, clip-path
11. Fancy Border Box
I discovered this style on theory11.com
Author: Max (MyXoToD)
Links: Source Code / Demo
Created on: March 9, 2016
Made with: Haml, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: CoffeeScript
HTML Pre-processor: Haml
Tags: box, border, css
12. Hand Drawn Border Effects
A one line border-radius technique.
Author: Tiffany Rayside (tmrDevelops)
Links: Source Code / Demo
Created on: February 11, 2015
Made with: HTML, CSS
Tags: css, css-borders, border effects
13. 8-bit Borders Using Shadows
8-bit borders using multiple css3 shadows and a little of sass. Check out the amazing 8-bit sahdow effect bases on this technique: http://codepen.io/albpara/pen/fmyen To be improved!
Author: Alberto Para (albpara)
Links: Source Code / Demo, Codepen.io
Created on: May 5, 2014
Made with: HTML, SCSS
Tags: 8bit, 8-bit, border
14. Sketchy Border Test
Using 8 border-radius values can be pretty dope. This example shows how using it on the element and its ::before pseudo element can create a sketchy look and feel.
Author: Andy Bell (andybelldesign)
Links: Source Code / Demo
Created on: October 26, 2018
Made with: HTML, SCSS
15. CSS Gradient Clip-Path Borders
This pen shows how the CSS clip-path property can be used to create a variety of shaped gradient borders.
Author: George W. Park (GeorgePark)
Links: Source Code / Demo
Created on: May 7, 2018
Made with: HTML, CSS
Tags: css, design, gradients, border, clip-path
16. Jagged Border - Top
Author: HollowMan (HollowMan)
Links: Source Code / Demo
Created on: July 28, 2014
Made with: HTML, Less
Tags: jagged, zigzag, border, less, mixin
17. Card With Animated Left Border On Hover
Author: Tony Phipps (neutraltone)
Links: Source Code / Demo
Created on: January 17, 2019
Made with: HTML, CSS
18. Border-radius Weave
Author: uniphil (uniphil)
Links: Source Code / Demo
Created on: November 6, 2013
Made with: HTML, Sass
19. CSS "Comic Style" Border
Author: michael picker (mp)
Links: Source Code / Demo
Created on: January 20, 2014
Made with: HTML, CSS, JS
Tags: css-border-border-radius-comic
20. Full Screen Vintage Frame With Multiple Borders
Author: Tudor Sfătosu (chris_tudor)
Links: Source Code / Demo
Created on: January 31, 2020
Made with: HTML, CSS
Tags: full-screen, vintage, frame, multiple, border
21. Corner Border Link
Links with corner borders and transition
Author: Vian Esterhuizen (heyvian)
Links: Source Code / Demo
Created on: September 26, 2017
Made with: HTML, SCSS
Tags: cssonly, links, buttons, transitions
22. Bounce On Hover
When you hove the image, the border bounces.
Author: Marcello Africano (mnafricano)
Links: Source Code / Demo
Created on: January 24, 2013
Made with: HTML, SCSS
Tags: border, bounce, hover, css, html
23. Border-style
Author: Mojtaba Seyedi (seyedi)
Links: Source Code / Demo
Created on: August 11, 2016
Made with: HTML, CSS
Tags: border-style, css-tricks.ir
24. CSS Border Chiptunes Music Video (O_o)
Just playing around with size transitions on weird border-styles. Only looked at it in Chrome.
Author: Olex (tholex)
Links: Source Code / Demo
Created on: April 3, 2013
Made with: Slim, Less
CSS Pre-processor: Less
JS Pre-processor: None
HTML Pre-processor: Slim
Tags: crazy, border-style, transitions, music-video, whatisthisidonteven
25. Border-animation-css
border-animation-css is create only in use of css.
Author: Swarup Kumar Kuila (uiswarup)
Links: Source Code / Demo
Created on: August 6, 2018
Made with: HTML, CSS
26. CSS Clip-path Border
It's not really possible (as far as I know) to make a border around an element with a clip path. This method uses an inside and outside element, the background of the outside one being the border.
Author: Bennett Feely (bennettfeely)
Links: Source Code / Demo
Created on: January 14, 2015
Made with: HTML, CSS
27. Pure CSS Zigzag Border
Author: Charlotte Dann (pouretrebelle)
Links: Source Code / Demo
Created on: July 30, 2012
Made with: Markdown, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Markdown
Tags: shape
28. Fancy Border Button
Author: Tobias Reich (electerious)
Links: Source Code / Demo
Created on: September 29, 2017
Made with: HTML, SCSS
Tags: button, border, animation, lines
29. Text In A Border
Author: Rico Sta. Cruz (rstacruz)
Links: Source Code / Demo
Created on: November 30, 2016
Made with: HTML, SCSS
NEW
🔥 Auto-Apply to 100's of Jobs With AI 🔥
👉
Click to visit: ApplyFox.ai
More Awesome Lists:
Share: