New course! Every coder should learn Generative AI!
Try a free lesson+ 3
Just give them the same classname (like this: <div class = "name"></div>).
Then, you can access it like this in css:
.name {
/*styling*/
}
(or, if it's all the div elements you want to style, you can use:
div {
/*styling*/
}
)