View on GitHub

reading-notes

CodeFellows Class Reading Notes

Shay Howe’s Intro to RWD

RWD: Responsive Web Design, or the practice of building a website suitable to work on devices of every size

Responsive: Reacts quickly and positively to change

Adaptive: Easily modified for a new purpose or situation

Mobile: Built separately and specifically for a mobile device

Flexible Layout: The practice of building the layout of a website with a flexible grid capable of dynamically resizing to any width

Media Queries: Provide the ability to specify different styles for individual browser and device circumstances

Flexible Media: Addresses the need for media to be scalable, changing their size as the size of the viewport changes

To get embedded media to be fully responsive:


All About Floats

Floated Elements remain a part of the flow of the web page

Float can be set to: Left, Right, None (default) or Inherit

Clear can be set to: Both (most common), Left, Right, or None (default)

Techniques for Clearing Floats

Empty Div Method: <div style="clear: both;"></div>

Overflow Method: Set overflow CSS property of a parent element to auto or hidden

Easy Clearing Method: uses CSS pseudo selector :after on a class to apply a small bit of hidden content after the parent element


Home