Posted by: Sureyado
Posting time: 6.4 years ago on
Last edit time: never edited.
Archived on: 2/12/2017 1:51:00 AM
Views: 573
SCP: 9
9 upvotes, 0 downvotes (100% upvoted it)
~1 user(s) here now
NSFW: No
Authorized: No
Anon: No
Private: No
Type: Default
view the rest of the comments →
[–] RedditRefugee ago
No, but that's cool! How did you do that?
[–] some_weirdo 0 points 1 point 1 point (+1|-0) ago
Sorry, it looked like you were trying to make columns :)
I just used the max-length and min-length properties. e.g.
div.thing:nth-child(odd) {
min-width:49%;
max-width:49%;
display: inline-block;
}
for both odd and even. There's probably a better way to do it though :)
[–] Bashlet ago
Aha, I love breaking div.thing.