Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@
- [MDN: Introduction to CSS Layout](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Introduction) (note: skip Grid, Table, and Multi-Column layouts)
- [MDN: Layout in Normal Flow](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flow_Layout/Block_and_Inline_Layout_in_Normal_Flow)
- [A List Apart: CSS Positioning 101](https://alistapart.com/article/css-positioning-101/)

45 changes: 43 additions & 2 deletions my-styles.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,45 @@
/* Your Stylesheet */

#display-01 div{
display: inline;
border: thin solid blue;
margin: 20px;
}
#display-02 span{
display: block;
border: thin solid red;
}
#display-03 div{
display: inline;
border: thin solid green;
width: 25px;
height: 25px;
padding: 25px;
}
#display-04>div:first-of-type {
position: fixed;
}
#display-05 a {
display: inline-block;
box-sizing: border-box;
background-color: grey;
width: 50%;
padding: 2%;
margin-left: 25%
}
#boxmodel-01 div {
display: inline-block;
box-sizing: content-box;
border: thick blue;
width: 25%;
padding: 25%;
margin-left: 25%
}
#boxmodel-02 div {
display: inline-block;
box-sizing: content-box;
border: thick blue;
width: 25%;
padding: 25%;
margin-left: 25%
}
/* All your edits should go here */