GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

A developer removes an explicit clear declaration from an el…

A developer removes an explicit clear declaration from an element entirely, leaving no clear property set at all. What clear behavior does the element fall back to?

Read Details

Sunrise Family Dental wants two items side by side, each at…

Sunrise Family Dental wants two items side by side, each at exactly half the container’s width, and sets `width: 50%;` on both inside a flex row. Why might they not end up at a clean 50/50 split?

Read Details

A developer needs to choose between clear: left;, clear: rig…

A developer needs to choose between clear: left;, clear: right;, and clear: both; for an element that must never sit beside any floated content, no matter which side that content is floated to. Which value covers every case?

Read Details

A team is designing an image strategy that should send phone…

A team is designing an image strategy that should send phones a smaller file and desktop screens a larger, higher-detail one.

Read Details

A developer wants a background image stretched to exactly fi…

A developer wants a background image stretched to exactly fill a container’s width while letting its height scale proportionally on its own.

Read Details

A startup building a brand-new horizontal nav bar from scrat…

A startup building a brand-new horizontal nav bar from scratch is deciding between display:flex and display:inline-block. Which does the deck recommend for new work, and why?

Read Details

A developer floats an image to the right inside a wide conta…

A developer floats an image to the right inside a wide container, then adds a paragraph of text right after the image in the HTML. What should the developer expect to happen to that paragraph’s text?

Read Details

Meridian Realty Group has two buttons with very different la…

Meridian Realty Group has two buttons with very different label lengths — “Contact” and “Schedule a Free Consultation” — inside a flex row. If both get `flex: auto;` instead of `flex: 1;`, what’s the visual difference?

Read Details

A designer wants a background image to be fully visible insi…

A designer wants a background image to be fully visible inside its container with nothing cropped off, even if that leaves some empty space around the edges.

Read Details

Sawdust & Stain Woodworking sets `flex: 0 0 200px;` on a sid…

Sawdust & Stain Woodworking sets `flex: 0 0 200px;` on a sidebar flex item. What does that shorthand do to the sidebar’s width as the container resizes?

Read Details

Posts pagination

Newer posts 1 2 3 4 … 96,427 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top