Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
brandontiehen authored May 19, 2024
1 parent 88e2edd commit 5499af2
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
2 changes: 2 additions & 0 deletions columnize-v1.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions columnize-v2.css.instructions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

"Columnize.css" - Version 2.0
By Brandon Tiehen
Copyright 2024 (c) All Rights Reserved.

- Based on a flex-grid system utilizing 10-column layout.
- Responsive for all device/screen sizes and orientations
- Mobile-First design

* https://github.com/brandontiehen/
* LICENSE INFO: General Use - See more online
* INSTRUCTIONS: Use col-[size]-[columns] to denote classes. Example: col-md-5 will display a half-width column. Clearfix resets the float functions.

Using the Layout:
While Columnize.css (version 1) was used in a 12-column grid layout system, I decided to go with a 10-column system for ease of layout and add specific modifier classes. Here's a tutorial.
Nest a .col- classified div/container into a .row div/container. For example:
<div class="row">
<div class="col-md-10">
<p>This will display cat full-page width. 10, 9, 8, etc. are abbreviations for 100, 90, 80, etc. percents. On phones, this will mostly display in one or two columns based on the sizing preferences and screens. See more in the @media queries in the CSS file.</p>
</div>
</div>
To display at 1/2, 1/3, or 1/4 (50%, 33.33333%, or 25%), we can use classes: .col-[size]-half, -third, and -quarter.


Clear-Fix & Spacers:
To reset the page from floats and such, use a .clear- empty div anywhere at the end of said content.
* .clear-fix resets layout there down to keep progressing as you like with no padding or margins added.
* .clear-single, .clear-double, and .clear-triple do the same as .clear-fix but with a 1, 2, or 3-percent padding added to the div, creating space between the previous and next sections/elements, vertically.

Thanks for using Columnize-v2.css! This has been a while since I revamped it, so please enjoy and hopefully a V3 will be out soon.
1 change: 1 addition & 0 deletions columnize-v2.min.css

Large diffs are not rendered by default.

0 comments on commit 5499af2

Please sign in to comment.