-
Notifications
You must be signed in to change notification settings - Fork 40
/
Styles.html
42 lines (38 loc) · 1.09 KB
/
Styles.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
span {
background-color: brown;
color: #f5f8f5 ;
font-size: 60px;
font-family: Arial, Helvetica, sans-serif;
font-style: italic;
}
/* span,p {
opacity: 0.1;
} */
.info{
background-color: yellow;
}
#content1 {
font-size: 50px;
background-color: violet;
}
#info {
font-size: 80px;
}
</style>
<link rel="stylesheet" href="./css/styles.css">
</head>
<body>
<h1 style="background-color: rgb(255, 0, 0);color: white;">This is the Heading1</h1>
<span style="font-size: 100px;">Demo for CSS</span>
<h4 id="content1">Heading 4</h4>
<p class="info demo" id="info">This content belongs to CSS tracker</p>
</body>
</html>