I've tried to keep it as tiny as possible with just under 3kb when gzipped. What would you change? What would you add? Any feedback or pull request is greatly welcome! MIT Licensed
Show HN: Picnic.css, a lightweight Bootstrap alternative
61–70 of 149 posts
Re: Show HN: Picnic.css, a lightweight Bootstrap alternative
#62Re: Show HN: Picnic.css, a lightweight Bootstrap alternative
#63Looking forward to actually trying this in near future!
Re: Show HN: Picnic.css, a lightweight Bootstrap alternative
#64The bit with the checkbox then 2 radios is a bit confusing (chrome/android/nexus 5) - at the start there's no check in the checkbox, I tap and it checks, I tap to uncheck and it changes to a light grey check. That gives the impression this checkbox has 3 States and is really confusing. Worse, when I then tap, say a radio button, it goes back to unchecked. My guess is this is just a focus issue but it's definitely con…
Re: Show HN: Picnic.css, a lightweight Bootstrap alternative
#65The problem with CSS frameworks is that they are invasive when it comes to writing semantic HTML. As someone who is working on developing semantic HTML and improving the skill, its annoying when you use a CSS framework which it encourages you to perform inline styling.
Layout should be separated from content.
Bootstrap and others is are great for making something quick and dirty. Semantic UI[1] is onto something decent but the issue of inline styling irritates me. Its good that Picnic is taking an approach to use better naming conventions for classes. I think this is a preference thing but I find writing button-one better than writing btn-1. I think its readable, can be understood quickly , easy to pick up if you have been away from development for a while, looks maintainable even for novice developers.
Shorthand has never been my thing, it just adds more complexity and nuisance by wasting time digging into someones documentation to understand whats going on. I would rather spend an extra two seconds writing out a full name rather than using shorthand knowing that its going to make my life easier in the future.
Great work, I'll definitely play with this when I get time.
Re: Show HN: Picnic.css, a lightweight Bootstrap alternative
#66I've tried to keep it as tiny as possible with just under 3kb when gzipped. What would you change? What would you add? Any feedback or pull request is greatly welcome! MIT Licensed
Is it on purpose that the radio button "dot" that shows when selected is not in the center?
Re: Show HN: Picnic.css, a lightweight Bootstrap alternative
#67Your death will be the first
Re: Show HN: Picnic.css, a lightweight Bootstrap alternative
#68I'm not very okay with the checkbox and radio button styling. I don't think you actually would need to touch those at all...
Re: Show HN: Picnic.css, a lightweight Bootstrap alternative
#69The bit with the checkbox then 2 radios is a bit confusing (chrome/android/nexus 5) - at the start there's no check in the checkbox, I tap and it checks, I tap to uncheck and it changes to a light grey check. That gives the impression this checkbox has 3 States and is really confusing. Worse, when I then tap, say a radio button, it goes back to unchecked. My guess is this is just a focus issue but it's definitely con…
I have no idea of why this is happening, I will investigate further
My guess is mobile Chrome is using the hover effect to denote selected - which I guess kinda makes sense. I'd probably just disable that hover style altogether to be honest, Bootstrap doesn't use one and I think that's better.
Re: Show HN: Picnic.css, a lightweight Bootstrap alternative
#70Earlier quoted context omitted.
Is it on purpose that the radio button "dot" that shows when selected is not in the center?
No, it looks fine in the versions of Chrome and Firefox that I'm testing, but not in every browser since this is the #1 issue I've received. I'll fix it within the next 24 hours.