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
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<meta charset="utf-8">
<title>Introduction to CSS Lab</title>
<!-- Your code here! -->
<link rel="stylesheet" href="./style.css"/>

</head>

<body>
Expand Down
8 changes: 8 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
/* Tag selector to select the 'body' element */
body {
/* Your code here! */
background: #00b3e6;
}

/* Tag selector to select all 'div' elements. We only have one 'div' in our HTML */
div {
/* Your code here! */
width: 700px;
margin: auto;
font-family: "Helvetica Neue";
background: white;
padding: 30px;
}

/* ID selector to select the element with id 'main-header' */
#main-header {
/* Your code here! */
font-size: 22px;
color: red;
}

/* Class selector to select elements containing the class 'perspective-questions' */
.perspective-questions {
/* Your code here! */
font-style: italic;
}