23 nov 2014 kl. 03:14 skrev Crest Christopher <[email protected]>:
> Percentage values scale the width of the viewport unlike pixel values.
>
> Tom / I assume when you say use max-width you mean;
>
> img {
> max-width: 123px
> }
>
> If so why do that, if you know the image size just give the container the
> size of the image
If you must use images, there’s stuff like the classic ”Sliding doors”
technique. I usually blend images with CSS3 so the middle ground is all CSS and
the images only enhance the main design.
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/