Skip to content

Dknowles44/Module-wk-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🏗️ Implement Absolute and Relative Positioning to Change Layout

Work with a partner to implement the following user story:

  • As a developer, I want to use the CSS position property to change the layout of my page.

Acceptance Criteria

  • It's done when box 2 is positioned in the middle of square 1 using relative positioning.

  • It's done when box 2 is positioned outside of the upper-right corner of square 2 using absolute positioning.

  • It's done when the finished page matches the mockup.

Assets

The following image demonstrates the web application's appearance and functionality:

Box 2 is positioned in the center of Square 1, while in Square 2, Box 2 is positioned outside the square.


💡 Hints

How does the CSS position property change the document's normal flow?

🏆 Bonus

If you have completed this activity, work through the following challenge with your partner to further your knowledge:

  • What is the z-index property?

Use Google or another search engine to research this.


© 2021 Trilogy Education Services, LLC, a 2U, Inc. brand. Confidential and Proprietary. All Rights Reserved.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published