1
resposta

Desafio: Melhorando o CSS

body {
    font-family: 'Arial', sans-serif;
    background-color: #c4c6db;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-top: 0;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);    
}

strong {
    color: #e74c3c;
}

a {
    color: #2980b9;
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    font-weight: bold;
    font-size: 1.2em;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #3498db;
    color: #fff;
    text-align: center;
    margin-top: 20px;
    transition: background-color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 30%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    image-rendering: auto;
}

Insira aqui a descrição dessa imagem para ajudar na acessibilidadehttps://github.com/EvaldoBrasil/Portifolio-HTML-e-CSS-aula_5.git

1 resposta

Olá, Evaldo! Tudo joia?

Analisando seu código, posso dizer que você fez um excelente trabalho. Ele está correto e segue bem as instruções do desafio.

Então, continue com o bom trabalho e não hesite em pedir ajuda sempre que precisar.

Bons estudos!