Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A problem with background-attachment: fixed; #34

Open
igor-tv opened this issue Oct 1, 2014 · 1 comment
Open

A problem with background-attachment: fixed; #34

igor-tv opened this issue Oct 1, 2014 · 1 comment

Comments

@igor-tv
Copy link

igor-tv commented Oct 1, 2014

If I use code:

.main {
    display: block;
    margin: 0 auto;
    width: 1000px;
    background: url(../images/bg.jpg) no-repeat;
    background-attachment: fixed;
    background-position: top center;
}
            $('.textbox').blurjs({
            source: '.main',
            radius: 20,
            overlay: 'rgba(255,255,250,0.4)'
            }); 

blur.js incorrectly calculates the background-position: top center; position of the .textbox 's blured background. I have blured window not at the same location then background of .main

Blur background position depends on the width of the browser window.

@MurhafSousli
Copy link

I have the same problem, but it only happens on chrome, but works on ff and ie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants