CSS Themes
|
PNG | SVG |
<style shim-shadowdom>
.roundbutton::shadow :hover {
box-shadow: 5px 10px 5px #888, -3px 5px 1px rgba(255,255,0,0.1);
}
.roundbutton::shadow div {
background-size: cover !important; border-radius: 50px; border: 1px solid black;
box-shadow: inset 5px 10px 5px #888, inset -3px 5px 1px rgba(255,255,0,0.7);
}
</style> |
Brazil!
|
Brazil!
|
PNG | SVG |
<style shim-shadowdom>
.squarebutton::shadow :hover {
box-shadow: 5px 10px 5px #888, -3px 5px 1px rgba(255,255,0,0.1);
}
.squarebutton::shadow div {
background-size: cover !important; border-radius: 50px; border: 1px solid black;
box-shadow: inset 5px 10px 5px #888, inset -3px 5px 1px rgba(255,255,0,0.7);
}
</style> |
Brazil!
|
Brazil!
|
Custom title and alt , specifying width and height
|
PNG | SVG | |
Set width=100
|
Set width=100
|
<flag-icon key="BR" width="100">Set width=100</flag-icon>
|
Set height=75
|
Set height=75
|
<flag-icon key="BR" height="75">Set height=75</flag-icon>
|
Set width=150, height=75
|
Set width=150, height=75
|
<flag-icon key="BR" width="150" height="75">Set width=150px, height=75</flag-icon>
|
Custom aspect
There is no standard aspect ratio (width / height ) for flags, so it may be necessary to override
the component default.
Aspect ratios of 2 are quite common.
|
PNG | SVG | |
Set width=150, aspect=2
|
Set width=150, aspect=2
|
<flag-icon key="NT" width="150" aspect="2" ca>Set width=150, aspect=2</flag-icon>
|
Set height=75, aspect=2
|
Set height=75, aspect=2
|
<flag-icon key="NT" height="75" aspect="2" ca>Set height=75, aspect=2</flag-icon>
|