I have five images in a div with a class=“fotos”. each image has a id. I could not do how to alingn the five images horinzontally and change indepebdelly de style (size, border-color od each image). I am having troubles with css
Some could help me?
// code//
You would change the css of each individual img with #id selectors that target each img separately. If you were to do more responsive horizontal aligning, it would be easier with flexbox. If you are doing simple static stuff, img are already inline so a combination of height, width, and margin would suffice.
Ah, then you would have an img selector that deals with the common attributes. Then #id selectors to deal with individual attributes such as height and width. Here in the case of border-radius, if you mean same as in same ratio, use units of %, else use px, rem, whatever.
e.g.
img {
border-radius:10%; /*each img would have rounded edge of the same ratio*/
}