Responsive Design: Unfloat An HTML Element

Have you ever sat down and said, “I’m going to float that fucking logo to the right.”

Whether it makes any sense to float that motherfucker to the right is irrelevant, you do it.

But doing so has caused your design to get all tore up for users at less than 800 pixels.

That fucking logo is crashing into shit now.

Fuck it. When the screen resolution hits 800 pixels or less, just don’t float that fucking logo to the right.

@media (max-width: 800px) {
  #logo {
    float:none;
  }
}
Share Button