diff --git a/index.html b/index.html index f60e5b7..824208f 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ AMCSS - Attribute Modules for CSS

AMCSS

Attribute Modules for CSS

Attribute Modules (AM) is a technique for using HTML attributes and their values rather than classes for styling elements. In doing so, each attribute effectively declares a separate namespace for encapsulating style information, resulting in more readable and maintainable HTML & CSS.

-

It's not a framework or a library, it's a style that better describes the components you're building. For an introduction to how AM was developed, see the original blog post by Glen Maddern. The specification itself is available on GitHub.

+

It's not a framework or a library, it's a style that better describes the components you're building. For an introduction to how AM was developed, see the original blog post by Glen Maddern. The specification itself is available on GitHub.

Example: Bootstrap Buttons

Buttons are one of the strongest use-cases for AM. Here we've converted some of Bootstrap's button markup as an example.

<!-- Large primary button -->
 <a class="btn btn-primary btn-lg">Large primary button</a>
@@ -49,4 +49,4 @@
     ga('create', 'UA-32408977-7', 'auto');
 ga('send', 'pageview');
\ No newline at end of file
+})