From the course: Advanced Responsive Layouts with CSS Flexbox

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Handing control to the user

Handing control to the user - CSS Tutorial

From the course: Advanced Responsive Layouts with CSS Flexbox

Start my 1-month free trial

Handing control to the user

- One of the main reasons I'm so excited about Flexbox like you've seen so far in the course is that it takes a lot of things that used to be really hard or in some cases impossible and make them really easy using plain CSS. But another reason why I like Flexbox is that it opens up some new opportunities for us as designers and developers to integrate the user more deeply into the experience. What I have in mind here are things like allowing the user to decide where a sidebar appears. Normally when you ship a site you don't really want a user to mess around with the layout because you've have to write two entirely separate sets of markup and you'd have to write complex CSS and then once the user interacts with the content you'd have to reload all the stuff into the browser and it would be very complex. But as you've seen with Flexbox you can do things like reorganize content on the page in a really easy way just by adding one or two lines of CSS. So what used to be really complicated…

Contents