@brunomoleta
Posted
Bom dia Ramon,
Quanto ao seu HTML:
Nas linhas 13 e 14 ao invés de usar dois <div>
pra melhorar a semântica dá pra usar:
<main class="display">
<figure class="img>
Além disso, a frase Melhore suas habilidades de front-end criando projetos
na minha opinião se encaixa melhor como um <h2>
.
O <h1>
que creio ser mais descritivo é:
<h1 class:"sr-only"> Card com QR code âncorado ao site FrontendMentor </h1>
sendo que esta classe esconde, deixando-o visível apenas ao leitor de tela.
O porquê de fazer isso com o h1
está neste link do MDN.
Quanto ao CSS:
na tua linha 24, ao invés de usar max-width: 21rem
, sugiro que uses width: 100%
.
Assim ele vai até onde o .display { padding: 1rem}
permitir.
Se este comentário te ajudou, por favor marque como helpful na parte inferior direita aqui dentro dele.
Bem vindo a comunidade,
Um salve de Curitiba/PR :D