- Criando e linkando o arquivo CSS
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Portifolio</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header></header>
<main>
<H1>Eleve seu negócio digital a outro nível <strong>com um Front-end de qualidade!</strong></H1>
<p>Olá! Sou Fábio Auriani, desenvolvedor Front-end com especialidade em React, HTML e CSS. Ajudo pequenos negócios e designers a colocarem em prática boas ideias. Vamos conversar?</p>
<a href="https://instagram.com/fauriani">Instagram</a>
<a href="https://github.com/fabioauriani">GitHub</a>
<img src="imagens/Programador.webp" alt="programador">
</main>
<footer></footer>
</body>
</html>
- Definindo estilos básicos
body {
background-color: indigo;
color: white;
}
- Estilizando com cores e formatos
body {
background-color: black;
color: white;
}
a {
display: inline-block;
padding: 10px 20px;
margin: 10px;
color: #000000;
background-color: #22D4FD;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
a:hover {
background-color: #00FFFF;
}
img {
width: 488px;
height: 550px;
border-radius: 5%;
object-fit: cover;
position: absolute;
}
- Personalizando a página com CSS
body {
background-color: gold;
color: white;
}
header{
background-color: black;
color: white;
}
p {
color: Indigo;
}
a {
display: inline-block;
padding: 10px 20px;
margin: 10px;
color: #000000;
background-color: #22D4FD;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
a:hover {
background-color: #00FFFF;
}
a:active {
background-color: #003d66;
}
img {
width: 488px;
height: 550px;
border-radius: 5%;
object-fit: cover;
position: absolute;
}
footer {
background-color: black;
color: white;
}
- Aplicando estilos com CSS Estilo divertido
body {
background-color: gold;
color: white;
}
header{
background-color: black;
color: white;
}
p {
color: Indigo;
}
a {
display: inline-block;
padding: 10px 20px;
margin: 10px;
color: #000000;
background-color: #22D4FD;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
a:hover {
background-color: #00FFFF;
}
a:active {
background-color: #003d66;
}
img {
width: 488px;
height: 550px;
border-radius: 5%;
object-fit: cover;
position: absolute;
}
footer {
background-color: black;
color: white;
}
Estilo formal
body {
background-color: black;
color: white;
}
header{
background-color: black;
color: white;
}
p {
color: white;
}
a {
display: inline-block;
padding: 10px 20px;
margin: 10px;
color: #000000;
background-color: #22D4FD;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
a:hover {
background-color: #00FFFF;
}
a:active {
background-color: #003d66;
}
img {
width: 488px;
height: 550px;
border-radius: 5%;
object-fit: cover;
position: absolute;
}
footer {
background-color: black;
color: white;
}
Estilo minimalista e limpo
body {
background-color: white;
color: black;
}
header{
background-color: white;
color: black;
}
p {
color: black;
}
a {
display: inline-block;
padding: 10px 20px;
margin: 10px;
color: #000000;
background-color: #22D4FD;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
a:hover {
background-color: #00FFFF;
}
a:active {
background-color: #003d66;
}
img {
width: 488px;
height: 550px;
border-radius: 5%;
object-fit: cover;
position: absolute;
}
footer {
background-color: white;
color: black;
}