CSS Layout Review 본문

Programming/웹 개발

CSS Layout Review

쩡호 2018. 1. 12. 09:37

Review: Layout

Great job! In this lesson, you learned how to control the positioning of elements on a web page.

Let's review what you've learned so far:

  1. The position property allows you to specify the position of an element in three different ways.
  2. When set to relative, an element's position is relative to its default position on the page.
  3. When set to absolute, an element's position can be pinned to any part of the web page, but the element will still move out of view when the page is scrolled.
  4. When set to fixed, an element's position can be pinned to any part of the web page. The element will remain in view no matter what.
  5. The z-index of an element specifies how far back or how far forward an element appears on the page.
  6. The float property can move elements as far left or as far right as possible on a web page.
  7. You can clear an element's left or right side (or both) using the clear property.

When combined with an understanding of the box model, positioning can create visually appealing web pages. So far, we've focused on adding content in the form of text to a web page. In the next unit, you'll learn how to add and manipulate images to a web page.


'Programming > 웹 개발' 카테고리의 다른 글

서브라임 단축키 (필요한 것만 계속 추가)  (0) 2018.01.12
CSS Visual Rules  (0) 2018.01.12
CSS Selectors Review  (0) 2018.01.12
HTML TABLE REVIEW  (0) 2018.01.11
HTML Tag Review  (0) 2018.01.11
Comments