Media Queries

@media (max-width: 768px) { }
@media (min-width: 769px) and (max-width: 1024px) { }
@media (orientation: landscape) { }

Responsive Units

width: 100vw;
height: 100vh;
font-size: 2rem;
width: 50%;

Mobile First

/* Mobile styles */
.container { width: 100%; }

@media (min-width: 768px) {
  .container { width: 750px; }
}

Common mistakes / Errores comunes

  • People often copy a command or pattern without adapting placeholders, which can break production workflows unexpectedly.
  • It is easy to forget environment-specific differences, so always verify behavior in your shell, runtime, or API gateway before shipping.
  • Many errors come from skipping small validation steps, so test with realistic sample input before relying on the result.
Last updated: February 2026