- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<title>Logo: Icon Font</title>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
</head>
<body>
<a href="#">Warmphoto</a>
<h1>Warm Lamp Photos</h1>
</body>
</html>
CSS
@font-face {
font-family: "Montserrat Alternates";
src: url("fonts/MontserratAlternates.woff") format("woff");
}
/*
@font-face {
font-weight: normal;
font-style: normal;
font-family: "Glyphter";
src: url("fonts/Glyphter.woff") format("woff");
}
*/
body {
background: url("night.jpg") no-repeat 50% 0;
font-size: 12px;
font-family: "Arial", sans-serif;
}
a {
display: block;
margin: 12px;
color: #ecf0f1;
text-align: center;
text-decoration: none;
text-transform: uppercase;
font-size: 55px;
font-family: "Montserrat Alternates", sans-serif;
}
a span {
}
h1 {
margin: 12px;
color: #ecf0f1;
text-align: center;
font-size: 24px;
}
You’ve gone to a different page
Goalscompleted
0
- Uncomment the call to connect to the icon font
Glyphter
, - then insert
span
with the characterA
in the link before the labelWarmphoto
. - and assign the font
Glyphter
to the span.
Comments