Login
You're viewing the front-end.social public feed.
  • Jul 20, 2024, 6:45 PM

    ✍️ New Guide: CSS Grid Areas

    I wrote a new ✨ interactive ✨ guide that explores CSS grid areas, line numbers, line names, and includes many interactive examples to experiment with. Happy learning!

    🔗 ishadeed.com/article/css-grid-

    Image attached toot
    💬 4🔄 61⭐ 119

Replies

  • Jul 20, 2024, 7:32 PM

    @shadeed9 this is neat! Is there an extra word (‘from’) in this sentence? Or some other words missing maybe. Or I’m reading it wrong.

    “Write the line numbers needed to place the second item from in the last three columns”

    💬 1🔄 0⭐ 1
  • 💬 0🔄 0⭐ 1
  • 💬 1🔄 0⭐ 1
  • 💬 0🔄 0⭐ 0
  • Jul 21, 2024, 9:37 AM

    @shadeed9 Your articles are always sooo good! Working with flexbox and grid since a while yet and just now discovered that I can make the line numbers visible in DevTools 😅 Thank you!

    💬 1🔄 0⭐ 1
  • 💬 0🔄 0⭐ 1
  • Jul 21, 2024, 10:56 AM

    @shadeed9 Supercool! I would add one small example with a negative value for `grid-row` or `grid-column`:

    ```css
    .my-class {
    grid-column: 2 / -1 ; /* spans from the start of column 2 until the end of the last column */
    }
    ```

    💬 1🔄 0⭐ 1
  • Jul 21, 2024, 4:38 PM

    @meduz Thanks! I will see if I can include that in the guide.

    💬 0🔄 0⭐ 1