concept design in category css

appears as: design, The design, design, designs
CSS in Depth

This is an excerpt from Manning's book CSS in Depth.

After learning about grid, developers often ask about flexbox. Specifically, are these two competing layout methods? The answer is no; they’re complementary. They were largely developed in conjunction. Although there’s some overlap in what each can accomplish, they each shine in different scenarios. Choosing between flexbox and grid for a piece of a design is going to come down to your particular needs. The two layout methods have two important distinctions:

In this chapter, we’ll consider a page mockup as a designer might provide, and convert it into code. I’ll focus primarily on the aspects of spacing and color. I’ll also highlight some considerations a designer may have made in regard to those. My goal is that, in understanding these concerns, you’ll be able to apply them to some degree as you maintain the design or even as you work on projects that have no designer. For that purpose, you’ll build the page shown in figure 12.1.

Figure 12.1. The page design for Ink collaboration software

This screenshot shows the finished page. If you receive a design from a designer, it’ll probably have a lot more information along with it. You’ll see that in a bit, but first I want to point out a few things about the design.

Figure 12.19. The design calls for 95 px above the slogan and 16 px beneath it (between it and the button).