- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<title>Embedded Text Effect</title>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Night Club</h1>
<span>☺</span>
</body>
</html>
CSS
body {
background: url("pumpkin.jpg") no-repeat 50% 0;
color: #2b2328;
font-family: "Arial", sans-serif;
}
h1 {
margin: 30px;
text-transform: uppercase;
font-weight: normal;
font-size: 100px;
}
span {
position: absolute;
top: 270px;
left: 30px;
color: #cb454c;
font-size: 150px;
}
You’ve gone to a different page
Goalscompleted
0
- Give the heading
h1
a shadow with a horizontal and vertical offset of-1px
, feathering of1px
, and the color#1e181c
, - and then assign a second shadow with a horizontal and vertical offset of
2px
, feathering of1px
, and the color#52424d
.
Comments