designwithfocus

Web design basics

What Is Flat Design in Website Layouts? Solid Color, Little Shadow

By Design With Focus Team 7 min read
Solid-color buttons with square and slightly rounded corners and no heavy shadow

Short answer

Flat design in website layouts uses solid color, simple shapes, and little or no shadow. Nielsen Norman Group defines the style as the absence of glossy or three-dimensional effects on a page's graphics. A later reading, flat 2.0, keeps that simplicity and adds subtle shadows or layers so controls stay easier to recognize.

Last verified against the sources listed below.

Key takeaways

  • NN/g defines flat design as graphics without glossy or three-dimensional effects.
  • The same 2015 article says Metro and Windows 8 in 2011 helped popularize the style.
  • NN/g uses the phrase flat 2.0 for mostly flat designs with subtle depth.
  • Skeuomorphism, in that article, mimics a real object with ornamental features.
  • MDN's box-shadow initial value is none. Border-radius only rounds corners.

What is flat design in website layouts? It is a visual style of solid color, simple shapes, and little or no shadow, without glossy or three-dimensional effects on the graphics.

Web design is the broader craft. Flat design is one style inside it. Nielsen Norman Group’s 2015 article by Kate Moran is the history source used here, along with a design-school glossary and the CSS properties that actually draw corners and shadows.

What does flat design mean?

Flat design means the graphics skip glossy shine and fake depth.

NN/g’s article, dated 27 September 2015, says flat design is defined by the absence of glossy or three-dimensional visual effects in the graphical elements of a web page. It says many designers treat the style as an offshoot of minimalist web design. The summary says the style became popular around 2012.

Rasmussen University’s glossary, dated 17 January 2022, puts the same idea in classroom language. Flat design is the opposite of skeuomorphism. It tends to be minimal, with more attention to space, crisp edges, and two-dimensional images. That is the 2D reading of the style: shapes sit on the plane instead of pretending to be objects you could pick up.

Solid color fits that reading. A button is a fill and a label. A card is a rectangle.

A shadow, if it appears at all, is not the main way you explain the control. CSS is what applies the fill, the corner, and any shadow you still choose.

Where did the style get its push?

NN/g credits Microsoft’s Metro design language and Windows 8, in 2011, as a major push.

The article says that release was particularly influential. It says Microsoft’s design documentation called the new style “authentically digital,” meaning the interface could use the screen as a screen instead of copying physical materials.

The current Windows design overview on Microsoft Learn does not define flat design or Metro. It describes Fluent Design. The 2011 date and the Metro name come from the NN/g article, not from that overview.

NN/g uses Apple’s homepage as a benchmark. It says the homepage resisted the flat trend until around 2013. Earlier captures, in the article’s account, still used gloss, rounded shine, or inset shadows. By the 2015 capture, the navigation bar was flat, and people recognized the links by convention: a colored stripe at the top of a page.

Those years are the article’s. They are not a rule that a new site must look like 2015.

How is flat 2.0 different from a fully flat page?

Flat 2.0 is NN/g’s name for a mostly flat page that adds a little depth back.

The article says designers started using subtle shadows, highlights, and layers. It also records the nicknames semi flat and almost flat. The phrase flat 2.0 is on that page, so it is fair to use. Rasmussen’s glossary does not use it.

The point of the subtle depth, in NN/g’s account, is recognition. For years, raised buttons and blue underlined links told people what they could click. A fully flat page can remove those clues. The article’s objection is that the style sometimes traded those clues for a trend.

Long shadows are the caution. NN/g says they became popular around 2013 and calls them flat 2.0 gone wrong, because the depth does not tell the person anything. A slight shadow under a floating action, in the article’s Evernote example, is the other direction: depth used as a sign.

Look What NN/g or the glossary says A CSS note from MDN
Fully flat No glossy or 3D effects on the graphics box-shadow left at its initial value, none
Flat 2.0 Mostly flat, with subtle shadows, highlights, or layers A small shadow, used to mark a control
Skeuomorphism Ornamental features that mimic a real object Texture and heavy depth the metaphor does not need
Realism Physical textures used for looks, not for a metaphor A photo or texture that is not teaching a control
Rounded flat button Still flat if it has no fake depth border-radius rounds corners and does not add a shadow

A gradient is a blend from one color to another. NN/g lists gradients among the pseudo-3D cues, with shadows and highlights, that early interfaces used.

A flat layout often skips that blend and stays with solid fills. A gradient is not forbidden by a spec. It is just one of the effects the flat style, as NN/g defines it, sets aside.

What CSS matches the look, and what does not?

Border radius changes the shape. Box shadow changes the depth. Only the second one fights a fully flat graphic.

MDN’s border-radius page says the shorthand rounds the outer border edge. It has been widely available since July 2015. Initial corner values are 0, so the starting shape is square.

You can set one radius for all corners or different radii per corner. The radius clips the background even when there is no border.

A border radius generator edits that radius and copies the CSS. A pill-shaped button can still be flat. Round corners are not a shadow.

MDN’s box-shadow page says the property adds shadow around an element’s frame. You set horizontal and vertical offsets, an optional blur, an optional spread, and a color. The initial value is none.

An inset keyword draws the shadow inside the box, which is the sunken look NN/g describes for old input fields. If a flat design leaves the property at none, there is no drop shadow. Flat 2.0, as NN/g describes it, is where a small shadow returns on purpose.

Do not pick a blur length from memory and call it the official flat 2.0 measurement. The NN/g article says subtle. It does not print a pixel value.

What mistakes does the style still cause?

The mistakes are removing every sign that something is clickable, and adding depth that explains nothing.

  • Making links and buttons the same color as body text, with no underline, no fill, and no other convention. NN/g’s cited problem is click uncertainty.
  • Covering a flat layout with long decorative shadows. The 2015 article treats those as depth without information.
  • Calling every shadow-free page skeuomorphic or every textured page flat. Use the definitions above for those words.
  • Assuming Metro’s 2011 look is what Microsoft’s current Fluent overview still specifies. The overview page opened here does not say that.
  • Using a heavy gradient and a thick outer shadow, then describing the result as flat because the corners are square.

Keep the fills solid and the shapes simple. Add a shadow only when it tells someone that a control is separate from the page. If the shadow is only there because a trend used one, the NN/g article would call that the part to cut.

Frequently asked questions

What phrase does NN/g attribute to Microsoft's design documentation?

Kate Moran's 27 September 2015 article says Microsoft's design documentation called the Metro style authentically digital. She ties that phrase to the appeal of flat design: exploring the screen without copying the look of physical objects. The Windows app design overview opened for this guide does not repeat that phrase or define flat design. It points current work at Fluent Design. Use the 2015 article for the 2011 history, and do not treat the current hub as a Metro timeline.

How does NN/g separate skeuomorphism from realism?

The article says a skeuomorphic design has unnecessary ornamental features that mimic a real-world precedent, so people can reuse what they already know. Its example is an early Kindle Fire bookshelf with wood texture and shelves. Realism, on the same page, mimics physical items or textures for aesthetic reasons and does not have to support a metaphor. The two often appear together. A wood texture used only because it looks warm is realism in that definition, not automatically skeuomorphism.

What does Rasmussen say flat design tends to emphasize?

Rasmussen's glossary, dated 17 January 2022, says flat design is the opposite idea of skeuomorphism. It tends to be minimal, with a bigger focus on space, crisp edges, and two-dimensional images. The same entry says skeuomorphic designs have an illusion of depth, so a button looks as if it can be pressed in or out. Rasmussen does not use the phrase flat 2.0. That phrase comes from the NN/g article, which also lists the nicknames semi flat and almost flat.

Does border-radius create a shadow or a 3D edge?

No. MDN says border-radius rounds the corners of an element's outer border edge. The initial corner radii are 0. The radius applies to the background even when the element has no border. A separate property, box-shadow, adds the shadow, with offsets, blur, spread, and color. Its initial value is none. A flat button can be round and still have no shadow. Rounding is a shape choice. Shadow is the depth choice NN/g associates with moving away from fully flat graphics.

When did NN/g say long shadows were popular?

The 2015 article says flat design elements with long shadows became popular around 2013, and it calls long shadows an example of flat 2.0 gone wrong because the depth is only aesthetic and adds no information for users. It also says Apple's homepage resisted the flat trend until around 2013, and that the style became popular around 2012, with Metro and Windows 8 in 2011 as a major influence. Those years are the article's dates, not a law about what you must ship now.

Sources