css3 - how to resize image in CSS? -


i've got page divided different parts header, footer , body. need set images on background of header , footer. should choose bigger image can re sized according user's system dimension or should keep constant size?

how keep image withing section has been decided it?

i'd create separate images smaller devices smaller file sizes when loading on tablet or mobile. load in different images using media queries

 header-bg-desktop.jpg  header-bg-tablet.jpg  header-bg-mobile.jpg 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -