0
How can I separate two similar images in css,all my images adapts the same features
3 Respostas
+ 1
Please post code so we can see why this is heppening.
I can only think you set style like this:
img {
/* your style */
}
if you just use tag as selector it will select every element and apply style to it, to style just some (use id) or group (use class)
+ 1
Inorder to apply specific styling to an one image and different from another, you give each of the image, a unique ID, and style them using that ID
Example:
<img src=" " id="img1" />
<img src=" " id="img2" />
---CSS---
#img1{
/* CSS Codes */
}
#img2{
/* CSS Codes */
}
0
How can I separate two similar images in css all my images adapts the same features