CSS Blurred Glass Effect Transparent Div | Frosted Glass Effect

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 พ.ย. 2018
  • Please LIKE our Facebook page for daily updates...
    / online-tutorial-html-c...
    Music Credit
    Track: Tobu - Roots [NCS Release]
    Music provided by NoCopyrightSounds.
    • Tobu - Roots | House |...

ความคิดเห็น • 51

  • @GARINOVPLAY
    @GARINOVPLAY 5 ปีที่แล้ว +49

    filter: blur(2px) - end. Thx!)

  • @shahid9676
    @shahid9676 5 ปีที่แล้ว

    Online tutorials the best always love u gys i learn many thinks !

  • @peepwebdev575
    @peepwebdev575 3 ปีที่แล้ว +1

    OMG thank you so much. I cannot tell you how difficult it has been to try and achieve this. A lot of people say oh its super easy, but are not actually creating a true Frosted Glass effect. This is the legit way of doing it.

  • @zholy9
    @zholy9 5 ปีที่แล้ว

    Awesome ... thank you very much.

  • @ashikurrahman4875
    @ashikurrahman4875 5 ปีที่แล้ว +15

    you should paste code on github or code pen. it will help too :)

  • @reksamohammad6941
    @reksamohammad6941 5 ปีที่แล้ว +2

    Can you make it dynamic backgroud? I mean if you using such an alert or popup the background still blured?

  • @curiosityhouse1036
    @curiosityhouse1036 5 ปีที่แล้ว

    Thank you soo much for this

  • @12bhavinchauhan3
    @12bhavinchauhan3 5 ปีที่แล้ว

    Nice transperant

  • @tanzzzzz225
    @tanzzzzz225 5 ปีที่แล้ว

    Awesome!!

  • @facundocorradini
    @facundocorradini 5 ปีที่แล้ว +5

    backdrop-filter: blur(2px);

    though that only works on Edge and Safari, and is behind a flag in Chrome

    • @sudeep.g
      @sudeep.g 5 ปีที่แล้ว

      Lol no support on Mozilla till date

    • @baykus790
      @baykus790 3 ปีที่แล้ว

      cant believe that worked. Hole video is just more details and techniques..

  • @ashawinpbalode9249
    @ashawinpbalode9249 2 ปีที่แล้ว

    appreciate your work bro

  • @rody8585
    @rody8585 3 ปีที่แล้ว +1

    Does it work on a VideoStream?

  • @desk6173
    @desk6173 3 ปีที่แล้ว

    muchas gracias bro

  • @spannerwindslayer
    @spannerwindslayer 5 ปีที่แล้ว

    Thanks!

  • @eliasneanderthal1734
    @eliasneanderthal1734 5 ปีที่แล้ว

    My background image does not quite fit. Is there a way you can show the whole jpg image? For me it shows only a part of it.

  • @CuspElectronic
    @CuspElectronic 5 ปีที่แล้ว

    with these settings the background does not turn white at the end, and the content starts at the center if there is a lot of content.
    body
    {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: url(fondo2.jpg);
    background-attachment: fixed;
    height: 100vh;
    }
    section
    {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    }
    section .box
    {
    position: relative;
    max-width: 600px;
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    overflow: hidden;
    color: #000;
    padding: 25px;
    margin: 100px auto;
    max-width: 600px;
    }
    section .box h2
    {
    position: relative;
    margin: 0 0 20px;
    padding: 0;
    font-size: 48px;
    text-transform: uppercase;
    z-index: 2;
    }
    section .box:before
    {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: url(fondo2.jpg);
    background-attachment: fixed;
    filter: blur(5px);
    }
    section .box p
    {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 18px;
    z-index: 2;
    }

  • @user-lb7ff9iy9s
    @user-lb7ff9iy9s 5 ปีที่แล้ว

    Good !

  • @humongouzztudio5867
    @humongouzztudio5867 3 ปีที่แล้ว

    Thank you.

  • @eshkollori2992
    @eshkollori2992 3 ปีที่แล้ว

    love it

  • @Diego-CR
    @Diego-CR 5 ปีที่แล้ว +2

    The besttt🤗

  • @redabeg
    @redabeg 4 ปีที่แล้ว

    But the text is not in the center.

  • @sasitaren7293
    @sasitaren7293 5 ปีที่แล้ว

    How you think like this????

  • @mohamedmorh
    @mohamedmorh 5 ปีที่แล้ว +2

    why you're not verified while you have more than 810 vids; is that not your goal

  • @YashRaj-yq8pj
    @YashRaj-yq8pj 5 ปีที่แล้ว +2

    I am first

  • @achmadfauzi7293
    @achmadfauzi7293 5 ปีที่แล้ว

    I can't do what you do but the code is the same as yours.

  • @astrolit79
    @astrolit79 3 ปีที่แล้ว

    But video background ?

  • @aleatoryaviator3487
    @aleatoryaviator3487 3 ปีที่แล้ว +1

    filter: blur(5px);

  • @videocasetteTV
    @videocasetteTV 5 ปีที่แล้ว

    You are migician

  • @explosionimplosion4679
    @explosionimplosion4679 3 ปีที่แล้ว +3

    BRUH. It's WAAAAY easier than that,
    Here's what you need on the text div:
    background: transparent;
    backdrop-filter: blur(2px);
    You're welcome.

    • @OnlineTutorialsYT
      @OnlineTutorialsYT  3 ปีที่แล้ว +1

      Thanks...for giving me idea for my next video 🙂👍

    • @explosionimplosion4679
      @explosionimplosion4679 3 ปีที่แล้ว +1

      @@OnlineTutorialsYT XD Np! I love watching your videos! Also I made my portfolio with your responsive portfolio website tutorial, may I have permission to use it (I know that it's copyrighted by you)

    • @OnlineTutorialsYT
      @OnlineTutorialsYT  3 ปีที่แล้ว

      Yes , you can use

    • @explosionimplosion4679
      @explosionimplosion4679 3 ปีที่แล้ว +1

      @@OnlineTutorialsYT Thank you!

    • @octaviobillatoro825
      @octaviobillatoro825 3 ปีที่แล้ว

      Worked for me, thanks!!
      All I've been looking for, in one comment 😜

  • @sicnic7112
    @sicnic7112 3 ปีที่แล้ว +8

    To avoid all this bs code, all you really need is this "backdrop-filter: blur(2px);" That's literally it.

    • @basilicous1114
      @basilicous1114 3 ปีที่แล้ว +7

      This code isn't bullshit, as backdrop-filter isn't supported on firefox

    • @lannaoliveira6742
      @lannaoliveira6742 2 ปีที่แล้ว +1

      OMG thank you so much

  • @achmadfauzi7293
    @achmadfauzi7293 5 ปีที่แล้ว +2

    not successful