Skip to content

Commit b127303

Browse files
committed
CSS All Property
1 parent faa4f88 commit b127303

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

More-CSS/css-all-property.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>CSS All Property</title>
7+
<style>
8+
h2 {
9+
font-size: 5rem;
10+
background-image: url("https://picsum.photos/200");
11+
-webkit-background-clip: text;
12+
background-clip: text;
13+
color: transparent;
14+
}
15+
h2 {
16+
all: initial; /*Reset element styles*/
17+
font-size: 10rem;
18+
color: lightcoral;
19+
}
20+
</style>
21+
</head>
22+
<body>
23+
<h2>This World Shall Know Pain</h2>
24+
</body>
25+
</html>

0 commit comments

Comments
 (0)