ubershmekel / cssbed

Test bed for simple css resets that make your static page nice without classes.
https://www.cssbed.com/
131 stars 11 forks source link

Add Bamboo CSS #9

Closed rilwis closed 3 years ago

rilwis commented 3 years ago

Add Bamboo CSS, a classless CSS utility for your HTML

https://github.com/rilwis/bamboo

ubershmekel commented 3 years ago

Are the input fields supposed to overlap?

https://deploy-preview-9--frosty-engelbart-5f4783.netlify.app/bamboo/

rilwis commented 3 years ago

Hi @ubershmekel,

I've just updated the CSS and CDN link (to better reflect the change in the CSS, due to cache). It looks better now.

PS: While the issue with inputs is fixed, I think a better markup for form fields is:

<p>
    <label for="name">Name</label><br>
    <input type="text" id="name" name="name">
</p>
ubershmekel commented 3 years ago

Are you suggesting adding a <br>? Some of the entries don't utilize a newline there such as https://www.cssbed.com/tacit/

rilwis commented 3 years ago

I know others don't. But if we go beyond the simple HTML for demos, to use the library in a real website, with other CSS/HTML or libraries, I think that markup with <br> makes more sense. In real websites, I've never seen people using such markup.

rilwis commented 3 years ago

By the way, thanks for the merging!