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

Поделиться
HTML-код
  • Опубликовано: 18 окт 2024
  • 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=========
    goo.gl/UQTFv9
    Read the full article here and get the source code:
    smashtheshell.c...
    ============Useful Tutorials=============
    Creating Multilevel horizontal Navigation Bar using Flexbox
    goo.gl/Erkzp6
    Creating Simple Responsive Horizontal Menu using CSS3 Flex
    goo.gl/8efLMN
    Creating a Masonry Layout Using Pure CSS3
    goo.gl/QFNVJa
    Creating a Custom Select Box Element
    goo.gl/uj46tI
    How to create simple css3 preloading animation
    goo.gl/GqjXCr
    How to add preloader to your webpage using javascript
    goo.gl/ZugNcP
    ================CONTACT and RESOURCES==============
    Website/Blog:
    smashtheshell.com
    Find all the source codes here:
    codepen.io/sma...
    Follow on Twitter
    / amit4kp
    Add on Facebook
    / kumaramit24chd
    Like Page on Facebook
    / smashtheshell

Комментарии • 6

  • @Auzorious
    @Auzorious 2 года назад

    Thanks for making this video! I was building a progress bar that had some clipping issues at small values. I put a white border around the bar's 'normal' border and it works great

  • @muhammadnabeel9062
    @muhammadnabeel9062 2 года назад

    Greate. really helpfull. save a lot of time..

  • @GamBar64
    @GamBar64 5 лет назад +1

    this guy is polite, liked the vid

  • @andreaaldrich4046
    @andreaaldrich4046 7 лет назад

    This is a nice tool you're using.