How to blur the div below the section with CSS 3 without background image?

phpguest

How to blur the div below the section thus applying that effect to the section and its content( would like to get OSX Yosemite blur effect without background image ).

Here is the markup.

<!DOCTYPE html>
<html>
<head>
    <style type="text/css">

        section{
            display: table;
            position: relative;
            background: rgba(255,0,0,0.5);
            width: 300px;
            height: 100px;
        }

        section h1{
            display: table-cell;
            vertical-align: middle;
            text-align: center;
            color: #fff;
        }

        div{
            position: absolute;
            top: 30px;
            left: 10px;
            width: 300px;
            height: 100px;
            background: rgba(255,255,255,0.5);
            filter: blur(4px);
        }


    </style>
</head>
<body>


    <section>
        <h1>There is some content</h1>
    </section>

    <div></div>


</body>
</html>
EternalHour

I see that you've got filter: blur. I did some testing with that as well but couldn't get it to work at all in firefox 31. Seems that text-shadow should accomplish something similar.

JSFiddle

.blurred {
   color: transparent;
   text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

CSS: How to blur background image within the div?

From Dev

CSS: How to blur background image within the div?

From Dev

<div> blur of part of Background image with css

From Dev

blur without background image

From Dev

how to blur the background image only in css

From Dev

How to blur(css) div without blur child element

From Dev

How to make diamond shape in html div using css3 without using background image...?

From Dev

How to make diamond shape in html div using css3 without using background image...?

From Dev

CSS blur on background image but not on content

From Dev

css tricks for background image blur

From Dev

Blur a part of the background image css

From Dev

Set Background Image in Div Without Separate CSS

From Dev

Blur the edges of an image or background image with CSS

From Dev

How to blur background img - css?

From Dev

Css blur on background image :hover but not on text

From Dev

How to create this material design background (see image below) with CSS?

From Dev

How to make this image blur with css

From Dev

Adding an image to a div section in css

From Dev

How to blur background image on hover but not the text

From Dev

How to make this image blur with transparent dark background

From Dev

How to blur only background and not content in Ionic/CSS

From Dev

How can I draw this background without a real BG image (using canvas/css3?)

From Dev

HTML and CSS Background image in a specific section

From Dev

Blur the background without filter

From Dev

How to adjust the div as below image?

From Dev

Is there a way to colorize a div's background image with CSS3?

From Dev

how to set transform for div without effect on background image?

From Dev

how to set transform for div without effect on background image?

From Dev

CSS Blur background issue

Related Related

  1. 1

    CSS: How to blur background image within the div?

  2. 2

    CSS: How to blur background image within the div?

  3. 3

    <div> blur of part of Background image with css

  4. 4

    blur without background image

  5. 5

    how to blur the background image only in css

  6. 6

    How to blur(css) div without blur child element

  7. 7

    How to make diamond shape in html div using css3 without using background image...?

  8. 8

    How to make diamond shape in html div using css3 without using background image...?

  9. 9

    CSS blur on background image but not on content

  10. 10

    css tricks for background image blur

  11. 11

    Blur a part of the background image css

  12. 12

    Set Background Image in Div Without Separate CSS

  13. 13

    Blur the edges of an image or background image with CSS

  14. 14

    How to blur background img - css?

  15. 15

    Css blur on background image :hover but not on text

  16. 16

    How to create this material design background (see image below) with CSS?

  17. 17

    How to make this image blur with css

  18. 18

    Adding an image to a div section in css

  19. 19

    How to blur background image on hover but not the text

  20. 20

    How to make this image blur with transparent dark background

  21. 21

    How to blur only background and not content in Ionic/CSS

  22. 22

    How can I draw this background without a real BG image (using canvas/css3?)

  23. 23

    HTML and CSS Background image in a specific section

  24. 24

    Blur the background without filter

  25. 25

    How to adjust the div as below image?

  26. 26

    Is there a way to colorize a div's background image with CSS3?

  27. 27

    how to set transform for div without effect on background image?

  28. 28

    how to set transform for div without effect on background image?

  29. 29

    CSS Blur background issue

HotTag

Archive