All posts in: CSS

How to scale CSS background to desired dimensions

One can easily scale background in CSS to any dimension to fit its container. 100% CSS background is good looking and gives bump to your design. Here is how this can be done. 1 2 3 #MyID { background-size: 70% 60%; /* 70% width and 60% ...

Page 1 of 131234567...Last »