Here i have the problem , I am following the tutorial point to point and i am not achieving to work the .container part at all . here my code and the video ? I have checked everything and should be working but not . I have tried everything.Please give me an advice to see what i am doing wrongly . Many thanks !!
Hey @Chievo, welcome to the forum.
I see that .card is a descendent of .container, remember that by the CSS Selector specification, the descendant selector is achieved with a space.
For example having an html like the following
<div class="a">
<div class="b"></div>
</div>
If I want to select .b I have as options (but not limited to):
.a > .b {
/* child combinator */
}
.a .b {
/* descendant */
/* Note the space between .a and .b */
}
Many thanks Marmiz !!! Glad to receive a such prompt response from you . I have tried it in that way and still do not work. here the css code ( the html is the same ) .Any suggestions?
It would be nice to have the HTML as well. You can post your code on Codepen.
You are missing the semicolon ; after left:50%
You do not have the 767px media query in your CSS which is where you would set the container to flex-direction: column which is what will stack the cards.