kognise/water.css

Better documentation of elements

Open

#80 opened on May 25, 2019

View on GitHub
 (29 comments) (0 reactions) (0 assignees)CSS (8,627 stars) (498 forks)batch import
enhancementgood first issue

Description

#76 brought up the point that it's difficult for new HTML users to understand how to use some of the more complicated HTML elements.

I'd love to see index.html (or maybe a separate page) have some sections on how to use each of the elements water.css supports. For example, documentation for the blockquote element could be:


Blockquote

Documentation

Example usage:

<blockquote cite="https://www.huxley.net/bnw/four.html">
    <p>Words can be like X-rays, if you use them properly – they'll go through anything. You read and you're pierced.</p>
    <footer>
        <cite>– Aldous Huxley, Brave New World</cite>
    </footer>
</blockquote>

Demo:


There would be a few parts to this issue:

  1. Discussion on what the content documentation should contain?
  2. Discussion on what the documentation should look like visually?
  3. Writing of the html for this documentation

This is a lot of work to do, so any help on this issue is very appreciated!

Contributor guide