Skip to content
Open

css #72

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
62 changes: 62 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,68 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css" />
<title>CSS Selector Fun</title>

<style>
p {
color: orange;
font-size: 28px;
}


.paragraph {
color: green;
font-size: 28px;
}

#paragraph {
color: red;
font-size: 28px;
}

h1, h2, h3, h4 {
color: pink;
font-weight:bold;
}


.container-one p {
margin-left: 10px;
border-bottom: 2px solid black;
}

div.container-one p {
color: blue;
font-size: 12px;
}


.container-two p {
margin-left: 10px;
border-bottom: 1px solid black;
color: purple;
font-size: 15px;
}

.container-two p span {
font-size: 12px;
color: grey;
}


div.container-one.container-two p {
color: purple;
font-size: 10px;
text-transform: uppercase;
font-weight: bold;
}


section.container-one.container-two p span {
color: orange;
font-size: 28px;
}

</style>
</head>
<body>

Expand Down