We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,642 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

chang background size

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.

3
Contributors
4
Replies
7 Hours
Discussion Span
6 Months Ago
Last Updated
5
Views
jspence29
Junior Poster in Training
73 posts since Nov 2012
Reputation Points: 0
Solved Threads: 1
Skill Endorsements: 3

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?

LastMitch
Industrious Poster
4,374 posts since Mar 2012
Reputation Points: 149
Solved Threads: 350
Skill Endorsements: 47

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...

<M/>
Senior Poster
3,609 posts since Apr 2012
Reputation Points: 64
Solved Threads: 81
Skill Endorsements: 95

@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 :)

jspence29
Junior Poster in Training
73 posts since Nov 2012
Reputation Points: 0
Solved Threads: 1
Skill Endorsements: 3

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

jspence29
Junior Poster in Training
73 posts since Nov 2012
Reputation Points: 0
Solved Threads: 1
Skill Endorsements: 3

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.3311 seconds using 2.69MB