Skip to content
This repository was archived by the owner on Mar 13, 2023. It is now read-only.

provide base code without margin or padding #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
9 changes: 0 additions & 9 deletions week-1/7-css-box/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<title>7. CSS Box Model - HTML, CSS and Git Exercises</title>
<link rel="stylesheet" href="/css/normalize.css" />
<link rel="stylesheet" href="/css/week1.css" />
<link rel="stylesheet" href="/css/week1-pagination.css" />
<link rel="stylesheet" href="styles.css" />
</head>

Expand All @@ -21,14 +20,6 @@
<li class="country">Andorra</li>
<li class="country">Angola</li>
</ul>
<div class="pages">
<a href="#" class="pages__page">1</a>
<a href="#" class="pages__page">2</a>
<a href="#" class="pages__page">3</a>
<span class="pages__separator">...</span>
<a href="#" class="pages__page">38</a>
<span class="pages__showing">Showing 5 of 190</span>
</div>
</div>
</body>
</html>
10 changes: 7 additions & 3 deletions week-1/7-css-box/styles.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/* Try different box model properties below */
.pages__page {
border: 1px solid #4491db;
border-radius: 4px;
.countries {
list-style: none;
border-bottom: 1px solid #bbb;
}

.country {
background: #fff;
border: 1px solid rgba(0, 0, 0, 0.2);
}