Buttons<button class="btn btn-block btn-social btn-servicestack">
<i class="fab fa-servicestack"></i>
</button>
Button Icons<button class="btn btn-social-icon btn-servicestack">
<i class="fab fa-servicestack"></i>
</button>
Image Sizes<i class="svg-servicestack svg-{size}"></i>
Sizes: xs sm md lg 2x 3x 4x 5x ... 14x
|
#Script<img src="{{'servicestack'.svgDataUri()}}"> <img src="{{'servicestack'.svgDataUri('#e33')}}"> {{ 'servicestack'.svgImage('#e33') }} {{ 'servicestack'.svgImage() }} .svg-bg {
{{'servicestack'.svgBackgroundImageCss()}}
}
|
Razor<img src="@Html.SvgDataUri("servicestack")"> <img src="@Html.SvgDataUri("servicestack","#e33")"> @Html.SvgImage("servicestack") @Html.SvgImage("servicestack", "#e33") .svg-bg-example {
width: 150px;
height: 150px;
background-size: 142px 142px;
background-position: 4px 4px;
background-repeat: no-repeat;
@Html.SvgBackgroundImageCss("female")
}
|
Link stylesheet |
<link rel="stylesheet" href="/css/buttons.css"> <link rel="stylesheet" href="/css/svg-auth.css"> |
---|---|
#Script inline style | {{ 'buttons,svg-auth' | cssIncludes }} |
Razor inline style | @Html.CssIncludes("buttons","svg-auth") |
Image | servicestack.svg servicestack.svg?fill=#e33 |
---|---|
CSS | servicestack.css servicestack.css?fill=#e33 |
Data URI | servicestack.datauri copy for url |
Buttons<button class="btn btn-block btn-social btn-female-business">
<i class="fab fa-female-business"></i>
</button>
Button Icons<button class="btn btn-social-icon btn-female-business">
<i class="fab fa-female-business"></i>
</button>
Image Sizes<i class="svg-female-business svg-{size}"></i>
Sizes: xs sm md lg 2x 3x 4x 5x ... 14x
|
#Script<img src="{{'female-business'.svgDataUri()}}"> <img src="{{'female-business'.svgDataUri('#e33')}}"> {{ 'female-business'.svgImage('#e33') }} {{ 'female-business'.svgImage() }} .svg-bg {
{{'female-business'.svgBackgroundImageCss()}}
}
|
Razor<img src="@Html.SvgDataUri("female-business")"> <img src="@Html.SvgDataUri("female-business","#e33")"> @Html.SvgImage("female-business") @Html.SvgImage("female-business", "#e33") .svg-bg-example {
width: 150px;
height: 150px;
background-size: 142px 142px;
background-position: 4px 4px;
background-repeat: no-repeat;
@Html.SvgBackgroundImageCss("female")
}
|
Link stylesheet |
<link rel="stylesheet" href="/css/buttons.css"> <link rel="stylesheet" href="/css/svg-icons.css"> |
---|---|
#Script inline style | {{ 'buttons,svg-icons' | cssIncludes }} |
Razor inline style | @Html.CssIncludes("buttons","svg-icons") |
Image | female-business.svg female-business.svg?fill=#e33 |
---|---|
CSS | female-business.css female-business.css?fill=#e33 |
Data URI | female-business.datauri copy for url |