1,105,333 Community Members

chang background size

Member Avatar
jspence29
Junior Poster in Training
75 posts since Nov 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 4 [?]
 
-1
 

How can I change the size of the pictures in this example http://codepen.io/anon/pen/IDKAo I am making a photo gallery with this effect, and I need to change the size of the pictures, can anyone help? It is a pretty complex css so I understand if you can't.

LastMitch
Deleted Member
 
4
 

It is a pretty complex css so I understand if you can't.

I'm a bit confused what you are doing? Every thread you post is related to CSS but have you actually try to modify the code first?

Member Avatar
<M/>
Industrious Poster
4,473 posts since Apr 2012
Reputation Points: 106 [?]
Q&As Helped to Solve: 139 [?]
Skill Endorsements: 114 [?]
Featured
 
0
 

All you do is give the img tags a dimension... go to w3schools.com and they will show you how to use the <img> effects/usages...

Member Avatar
jspence29
Junior Poster in Training
75 posts since Nov 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 4 [?]
 
-1
 

@LastMitch, First of all this account is not just mine its mine and two of my friends that are in a class together, and yes I do try, in this instance, I can't change the size of the images because in the CSS it is under background-image. And the background-size tag doesn't work.
@Michael, There are no img tags, I am not that clueless :)

Member Avatar
jspence29
Junior Poster in Training
75 posts since Nov 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 4 [?]
 
-1
 

I figured it out though, I have to declare it an inline-block and then I can change the height and width

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: