mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-03 21:14:46 +00:00
show-transparency class undocumented previously
This commit is contained in:
parent
cb7084b052
commit
2d16bf9606
1 changed files with 4 additions and 0 deletions
|
|
@ -510,6 +510,10 @@
|
|||
<div class="loading-mask loading" style="width:200px">
|
||||
<img src="{% static 'wagtailadmin/images/wagtail-logo.svg' %}" width="200" />
|
||||
</div>
|
||||
|
||||
<h3>Image transparency</h3>
|
||||
<p>It can be useful to show users the transparent areas of images. Add a transparency checkerboard with the <code>.show-transparency</code> on the <code>img</code> tag thus:</p>
|
||||
<img src="{% static 'wagtailadmin/images/wagtail-logo.svg' %}" width="200" class="show-transparency" />
|
||||
</section>
|
||||
|
||||
<section id="icons" class="icons">
|
||||
|
|
|
|||
Loading…
Reference in a new issue