diff options
Diffstat (limited to 'README.md')
-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. |