diff options
-rw-r--r-- | pocketCSS.md | 20 | ||||
-rw-r--r-- | pocketHelp.md | 2 |
2 files changed, 11 insertions, 11 deletions
diff --git a/pocketCSS.md b/pocketCSS.md index b50c4c2..c832023 100644 --- a/pocketCSS.md +++ b/pocketCSS.md @@ -12,18 +12,18 @@ ## Simple selectors <p class="micro">assume throughout that `E` and `F` are elements, they can have attribute `foo` e.g. <code style="white-space: nowrap"><e foo="bar"></code> you can replace these with any elements or attributes.</p> -<p class="micro">In HTML, elements in CSS can be uppercase like these examples. In XHTML, elements must be lower case. Classes and IDs are <strong>always</strong> case sensitive</p> +<p class="micro">In HTML, elements in CSS can be uppercase like these examples. In XHTML, elements must be lower case. Classes and IDs are **always** case sensitive</p> -<span class="micro"><strong>universal selector</strong>, match any element</span> +<span class="micro">**universal selector**, match any element</span> `*` -<span class="micro"><strong>type</strong> (or element) selector</span> +<span class="micro">**type** (or element) selector</span> `E` -<span class="micro"><strong>ID selector</strong> an E element with ID equal to "myid", e.g. `<e id="myid">`</span> +<span class="micro">**ID selector** an E element with ID equal to "myid", e.g. `<e id="myid">`</span> `E#myid` -<span class="micro"><strong>class selector</strong> an E element whose class is "myclass", e.g. `<e class="myclass">`</span> +<span class="micro">**class selector** an E element whose class is "myclass", e.g. `<e class="myclass">`</span> `E.myclass` --- @@ -32,19 +32,19 @@ ## Combinators <abbr class="amp" title="and">&</abbr> negation -<span class="micro"><strong>descendant combinator</strong> to style an F element, which is a descendant of an E element</span> +<span class="micro">**descendant combinator** to style an F element, which is a descendant of an E element</span> `E F` -<span class="micro"><strong>child combinator</strong> an F element which is the direct child of an E element</span> +<span class="micro">**child combinator** an F element which is the direct child of an E element</span> `E > F` -<span class="micro"><strong>adjacent sibling combinator</strong> an F element that is immediately preceded by an E element</span> +<span class="micro">**adjacent sibling combinator** an F element that is immediately preceded by an E element</span> `E + F` -<span class="micro"><strong>general sibling combinator</strong> an F element preceded at some point by an E element</span> +<span class="micro">**general sibling combinator** an F element preceded at some point by an E element</span> `E ~ F` -<span class="micro"><strong>negation pseudo-class</strong> an E element that does not match simple selector `s`</span> +<span class="micro">**negation pseudo-class** an E element that does not match simple selector `s`</span> `E:not(s)` --- diff --git a/pocketHelp.md b/pocketHelp.md index 27e3a40..1c2b44a 100644 --- a/pocketHelp.md +++ b/pocketHelp.md @@ -72,7 +72,7 @@ <span class="micro">remove a file</span> `rm filename` -<span class="micro">remove a directory and all its contents. <strong>BE VERY CAREFUL!</strong> you could easily delete everything!</span> +<span class="micro">remove a directory and all its contents. **BE VERY CAREFUL!** you could easily delete everything!</span> `rm -rf dirname` <span class="micro">copy a file</span> |