Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

3-Column-Preview-Card-Component

@vinitGithub099

Desktop design screenshot for the 3-column preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Eric 60

@Ericodesenvolvedor

Posted

Bom dia Vinit,

Eu estava observando o seu código Css e notei algo em sua @media, você duplicou algumas linhas de código.


/* Seu código sem a @media */

main{
    /* background-color: red; */
    background-color: hsl(0, 0%, 95%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Seu código com @media */ 

 main{
        height: auto;
        width: 100%; (duplicado)
        display: flex; (duplicado)
        justify-content: center; (duplicado)
        align-items: center; (duplicado)
  }

/* Mude para */ 

 main{
        height: auto;
  }

há outras linhas de código duplicadas, retire elas e seu código vai ficar mais limpo :)

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord