mirror of
https://github.com/Templarian/MaterialDesign.git
synced 2026-03-03 07:04:06 +01:00
Update style.savvy
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
@title Style
|
||||
@example(icon){
|
||||
<div style="position:relative;width:242px;height:242px;border:1px solid #DDD;">
|
||||
<img src="/images/grid-240.svg" style="position:absolute;top:0;bottom:0;" />
|
||||
<div style="position:relative;width:242px;height:242px;border:1px solid #DDD;float:right;">
|
||||
<img src="/images/{@icon}.svg" />
|
||||
<img src="/images/grid-240.svg" style="position:absolute;top:0;bottom:0;" />
|
||||
</div>
|
||||
}
|
||||
@clear(){
|
||||
<div style="clear:both;"></div>
|
||||
}
|
||||
|
||||
# @title
|
||||
|
||||
A single square 24 pixels in size.
|
||||
@example(box)A single square 24 pixels in size.
|
||||
|
||||
@example(box)
|
||||
@clear()
|
||||
|
||||
Reference in New Issue
Block a user