HOW TO MAKE A CONTAINER SCROLLABLE?

these are the common features with making a pro carrd! This helps your layout look more neat than having to avoid huge elements.

Just copy and paste this code on to your container's code.

  1. VERTICAL
    height: /up to you/
    overflow: auto;

    NOTE: This works with other elements that are scrollable.

  2. HORIZONTAL
    width: /up to you/
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    box-sizing: border-box;

    NOTE: Usually used on containers not really on other elements will update if there's new info

go back to mist.drr.ac

Edit
Pub: 09 Sep 2022 06:38 UTC
Views: 169