hello danibe's friends i hope you all are doing well,
i always had a question that i never asked so i would like my image to be full width not full screen just the width on any screen how can i do that without deforming the original image, have i to prepare it on photoshop with specific size or there is a solution with html/css or js ?? or jquerry ?
Hamsterking
0
Newbie Poster
Recommended Answers
Jump to PostIt'll work, but sometimes you need different images to be used with different resolutions / sizes. Bad situations arise with: scaling up small images on larger screens or downloading a monster image on a tiny phone screen with little data allowance.
Have a look at
srcset
for<img>
tags. A …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.