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 |...
filter: blur(2px) - end. Thx!)
Dhanyawad ...bahut zyada
But that blurs the text as well
Box shadow bhi hai
x'D
Online tutorials the best always love u gys i learn many thinks !
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.
Awesome ... thank you very much.
you should paste code on github or code pen. it will help too :)
Can you make it dynamic backgroud? I mean if you using such an alert or popup the background still blured?
Thank you soo much for this
Nice transperant
Awesome!!
backdrop-filter: blur(2px);
though that only works on Edge and Safari, and is behind a flag in Chrome
Lol no support on Mozilla till date
cant believe that worked. Hole video is just more details and techniques..
appreciate your work bro
Does it work on a VideoStream?
muchas gracias bro
Thanks!
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.
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;
}
Good !
Thank you.
love it
Hey E, you will love this as well
The besttt🤗
But the text is not in the center.
How you think like this????
why you're not verified while you have more than 810 vids; is that not your goal
No verified option since
I am first
I can't do what you do but the code is the same as yours.
But video background ?
filter: blur(5px);
You are migician
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.
Thanks...for giving me idea for my next video 🙂👍
@@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)
Yes , you can use
@@OnlineTutorialsYT Thank you!
Worked for me, thanks!!
All I've been looking for, in one comment 😜
To avoid all this bs code, all you really need is this "backdrop-filter: blur(2px);" That's literally it.
This code isn't bullshit, as backdrop-filter isn't supported on firefox
OMG thank you so much
not successful