HTML
<!DOCTYPE html>
<html lang="pt-br">
<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">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap">
<link rel="stylesheet" href="/assets/css/reset.css">
<link rel="stylesheet" href="/assets/css/estilo.css">
<title>HZC | Home</title>
</head>
<body>
<header class="cabecalio">
<!--Substituimos Menu e notificação por <i></i> para adicionar icones no lugar de texto-->
<button class="cabecalio_menu"><i></i></button>
<img src="/assets/img/logo.svg" alt="Logo tipo HTZ">
<button class="cabecalio_notificacao"><i></i></button>
</header>
</body>
</html>
CSS
@font-face {
font-family: 'icones';
src: url(../font/icones.ttf);
}
body {
background-color:#1D232A;
font-style: 'Open Sans','icones' ,sans-serif;
color: white;
}
.cabecalio{
display: flex;
justify-content: space-between;
align-items: center;
background-color: #15191C;
padding: 8px 16px;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.16);
}
.cabecalio_menu i::before{
content: "\e904";
font-size: 24px;
}
.cabecalio_notificacao i::before{
content: "\e906";
font-size: 24px;
}
Link dos arquivos usados: https://github.com/alura-cursos/flex-e-grid/archive/refs/heads/aula1.zip