DEV Community

Discussion on: `transform` Establishes Containing Block for Descendants

Collapse
enriquemorenotent profile image
Enrique Moreno Tent • Edited on

You say:

.heart {
  transform: rotate(-45deg);
}

But I keep reading:

.ice-cream {
  transform: rotate(-45deg);
}
Collapse
wgao19 profile image
Wei Gao Author

Haha yeah after looking at it for so long it starts to look like other things to me as well like .ice-cream 🍦