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

loading images using CSS class #129

Open
stelco opened this issue Dec 9, 2016 · 0 comments
Open

loading images using CSS class #129

stelco opened this issue Dec 9, 2016 · 0 comments

Comments

@stelco
Copy link

stelco commented Dec 9, 2016

Hi, Ive been testing your script here: http://codepen.io/stelco74/pen/bBKazK

I was wondering, is it possible to load the images from a CSS class? We do this quite extensively on our company website. See example below...

.athena .kbslide {
background-size: cover;
background-position: center;
width:100%;
height:100%;
position:absolute;
}

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

1 participant