Log in Sign up
3 Matching Annotations
  1. Feb 2021
  2. stackoverflow.com stackoverflow.com
    Hiding an element with CSS Grid
    1
    1. TylerRick 04 Feb 2021
      in Public
      CSS: grid: hiding a grid area
    Visit annotations in context

    Tags

    • CSS: grid: hiding a grid area

    Annotators

    • TylerRick

    URL

    stackoverflow.com/questions/47067227/hiding-an-element-with-css-grid
  3. stackoverflow.com stackoverflow.com
    CSS grid - hide a grid-area on click of a button
    2
    1. TylerRick 04 Feb 2021
      in Public
      You use grid-area, so the place for the side nav is allocated at start. If you hide (or even delete) the side nav, that won't change anything about this. You have to do a little trick: Set the width for the first column to 0 and change the grid-gap because otherwise you will have a (not needed) gap at the left.
      I have this problem too caveat CSS: grid: gap CSS: grid: hiding a grid area
    2. TylerRick 04 Feb 2021
      in Public
      CSS: grid I have this problem too CSS: grid: hiding a grid area
    Visit annotations in context

    Tags

    • CSS: grid: gap
    • caveat
    • CSS: grid: hiding a grid area
    • CSS: grid
    • I have this problem too

    Annotators

    • TylerRick

    URL

    stackoverflow.com/questions/47629735/css-grid-hide-a-grid-area-on-click-of-a-button
Share:
Group. Only group members will be able to view this annotation.
Only me. No one else will be able to view this annotation.
Hypothes.is
  • About
  • Blog
  • Bioscience
  • Education
  • Jobs
  • Help
  • Contact
  • Terms of Service
  • Privacy Policy