So below, the “width” of our container will be 300px. The height of the container will become the “width” and vice-versa. These are arbitrary sizes they could be anything. In this example, our side-scrolling container will be 300px wide, with 8 items of 100×100px each. Tip: Go to our CSS Tables Tutorial to learn more about how to style tables. ![]() item you can move the scrollbar and give more room for overflow within the box. This probably doesn't solve your problem exactly, but if you add: margin-right: -100px padding-right: 100px to. Just put a URL to it here and well apply it, in the order you have them, before the CSS in the Pen itself. You would need to set overflow-x: visible, but since you've set overflow-y then it is treated as auto which hides the content. Make a, and make a bunch of child elements. Note: In OS X Lion (on Mac), scrollbars are hidden by default and only shown when being used (even though 'overflow:scroll' or auto is set). You can apply CSS to your Pen from any stylesheet on the web.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |