Tweaking styls
This commit is contained in:
parent
2a437479f9
commit
9bcf2931ce
@ -17,15 +17,13 @@
|
|||||||
#img {
|
#img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
width: auto;
|
width: 100%;
|
||||||
height: auto;
|
height: 100%
|
||||||
display: block;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
background-image: url($img_url);
|
background-image: url($img_url);
|
||||||
background-size: cover; /* Important for proper scaling */
|
background-size: contain; /* Important for proper scaling */
|
||||||
background-position: center;
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.chevron {
|
.chevron {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user