HomeОбразованиеRelated VideosMore From: smashtheshell

CSS Multiple Border - Creating CSS3 Custom Borders | Smashtheshell | Youtube

13 ratings | 2486 views
Hey, friends, we are going to learn to create multiple borders with CSS. We will be creating multiple CSS3 borders using pseudo element selectors .i.e. ::after and ::before. So how we will create multiple borders with CSS3? To create two or more CSS borders we don't have to use any extra markup. We'll simply create a div element and by using the CSS3 pseudo selectors after and before and with the help of CSS3 content property we will add empty content to add two borders for our HTML div element. We'll also utilize CSS z-index property which prevents pseudo elements from overlapping and hence multiple borders will not overlap with each other. You'll also see how we'll create a simple double border with CSS border property 'double' value. ===============SOURCE CODE========= https://goo.gl/UQTFv9 Read the full article here and get the source code: http://smashtheshell.com/multiple-border-css/ ============Useful Tutorials============= Creating Multilevel horizontal Navigation Bar using Flexbox https://goo.gl/Erkzp6 Creating Simple Responsive Horizontal Menu using CSS3 Flex https://goo.gl/8efLMN Creating a Masonry Layout Using Pure CSS3 https://goo.gl/QFNVJa Creating a Custom Select Box Element https://goo.gl/uj46tI How to create simple css3 preloading animation https://goo.gl/GqjXCr How to add preloader to your webpage using javascript https://goo.gl/ZugNcP ================CONTACT and RESOURCES============== Website/Blog: http://smashtheshell.com Find all the source codes here: https://codepen.io/smashtheshell Follow on Twitter https://twitter.com/amit4kp Add on Facebook https://www.facebook.com/kumaramit24chd Like Page on Facebook https://www.facebook.com/smashtheshell
Html code for embedding videos on your blog
Text Comments (2)
Andrea Aldrich (2 years ago)
This is a nice tool you're using.
smashtheshell (1 year ago)
Hi Adrea, Thanks :)

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.