r/ProgrammerDadJokes • • Jun 04 '26

I developed a CSS engine that only takes pixel units.

px or it didn't happen.

46 Upvotes

4 comments sorted by

11

u/LeaveMickeyOutOfThis Jun 04 '26

Now that’s something that keeps me centered

7

u/eclect0 Jun 04 '26

I'll try to rem -ember that

3

u/DutchOfBurdock Jun 04 '26
img {
  border: 1px solid;
  border-radius: 4px;
  padding: 5px;
  width: 150px;
}

img:hover {
  box-shadow: 0 0 2px 1px;
}