loading...

re: CSS Grid: illustrated introduction VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hi Mustapha! you are great, your explanation is amazingly clear and complete! thank you very very very much :) a little question: is it accurate t...
 

Hey Nando, thanks for the kind words, means a lot to me.
You are absolutely right. I inverted them in the article, but it actually is rows then columns:

.grid-container {
  grid-template-columns:  1fr 1fr 1fr 1fr;
  grid-template-rows:  1fr auto 2fr;
  // equivalent to
  grid-template:  1fr auto 2fr  / 1fr 1fr 1fr 1fr;
}

I made the correction, thanks so much for pointing out this error, you are awesome!

code of conduct - report abuse