Grids; Parallax
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
padding-bottom: 100%;
|
||||
position: relative;
|
||||
background-repeat: no-repeat;
|
||||
background-color: #DDDDDD;
|
||||
background-color: $light_grey;
|
||||
background-position: 50% 50%;
|
||||
background-size: cover;
|
||||
}
|
||||
@ -21,9 +21,13 @@
|
||||
}
|
||||
|
||||
.parallax {
|
||||
height: 300px;
|
||||
height: 50vh;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
.thumbnail {
|
||||
max-width: none;
|
||||
background: $light_grey;
|
||||
|
||||
canvas {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user