CSS Framework.? - Post ID 233465

User 2924428 Photo


Registered User
1,718 posts

Hey guys, i'm experimenting with my site right now and need to know if anyone has experience with "stretching" framework?
Like and image starts out a small size, but through CSS you can frame it around anything.

I'd really like to know how this works , any references would be helpful, thanks guys!
User 187934 Photo


Senior Advisor
20,190 posts
Online Now

I'm not totally sure what your asking Matt., but maybe this.
http://www.w3schools.com/cssref/playit. … eval=cover
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2484360 Photo


Registered User
3,293 posts

Are you talking about this?

/* This will stretch it 100% of the width */
.background{
..........
background-size:100%;
}

/* This will stretch it 100% of the width and 50% of the height. */
.background{
..........
background-size:100% 50%;
}
User 2924428 Photo


Registered User
1,718 posts

Hey guys, yes i'm talking about stretching a small image into a larger one, thanks guys!! :)
User 122279 Photo


Senior Advisor
14,454 posts

Make sure you don't stretch it too much, or it will be pixelated, as shown in the link Eric posted.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2924428 Photo


Registered User
1,718 posts

I am working with Photoshop right now.. and looks ok' but doesn't match the border of my transparent layer code..
User 122279 Photo


Senior Advisor
14,454 posts

Is that a question? If you want us to look into something, you know it is much easier with a link.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.