Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.53 KB

readme.md

File metadata and controls

48 lines (31 loc) · 1.53 KB

Pattern Response

How to use

Create folders in the patterns folder, place html files in each folder. The html files can contain html, css and/or a description.

To display a description about the contents of the folder, include it in a info.txt file in the base of that folder.

Pattern Structure

Description/Info

To add a description use html comments. eg.

Use the start and ending INFO tags to declare a description

HTML

To add HTML just add it as usual, make sure it comes after the INFO comments but before the CSS comments.

CSS

To add CSS use html comments.

eg.

The other option is to include a CSS file in the same folder as the html file with the exact same name as the html file, except with the extension .css

Pattern Notes

INFO and CSS is not required as long as it follows the same structure. eg. If there is no INFO needed just include the HTML then the CSS.

Styling

The CSS in the documentation is not included in the page markup. To style the elements in Pattern Response change the line in index.php from:

To include the location of your css file and uncomment it.

Notes

This is by no means perfect, actually it's probably much less than perfect. I am happy for others to give idea and add to the project. Please Note: This is my first Github project and I'm really not sure how to do this.