diff options
author | Teddy Wing | 2014-04-21 16:57:39 -0400 |
---|---|---|
committer | Teddy Wing | 2014-04-21 16:57:39 -0400 |
commit | bcc973fa6fada94f790fb07aa3d56ec91b7f4f4a (patch) | |
tree | 71b7810330cafe047fd6572bbd73da62aec9c565 | |
parent | 63fd12bf3c40e3324b406576039d7c482fbf4b7c (diff) | |
download | django-sneak-peek-bcc973fa6fada94f790fb07aa3d56ec91b7f4f4a.tar.bz2 |
README: add screenshots to Additional Options section
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -90,6 +90,8 @@ By default, markup under sneak peek will appear with a yellow & black "under con </div> {% endsneak_peek %} + + ### Outline Sets `border: none;` and uses an `outline` instead @@ -99,6 +101,8 @@ Sets `border: none;` and uses an `outline` instead </div> {% endsneak_peek %} + + ### Borderless Sets `border: none;`. Markup will appear without superfluous extra styles applied by `django-sneak-peek`, but will still be surrouded by an `<div>` wrapper (as always). @@ -108,6 +112,8 @@ Sets `border: none;`. Markup will appear without superfluous extra styles applie </div> {% endsneak_peek %} + + ### Inline Sets `display: inline;` @@ -117,6 +123,8 @@ Sets `display: inline;` </div> {% endsneak_peek %} + + ### Inline-Block Sets `display: inline-block;` @@ -126,6 +134,8 @@ Sets `display: inline-block;` </div> {% endsneak_peek %} + + ## Customising As you may have guessed, you can add custom display styles to `django-sneak-peek`. In addition to overriding the existing CSS classes, you can also create your own. |