mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 00:16:31 +00:00
feat: add bg size, position, and parallax options to Widget Pages
# Options are `cover` (default), `contain`, or `actual` size. image_size = "actual" # Options include `left`, `center` (default), or `right`. image_position = "right" # Use a fun parallax-like fixed background effect? true/false image_parallax = true See #1377
This commit is contained in:
1 parent
9cbf096db5
commit
18ae2268f3
1 file changed
+8
-4
@@ -55,15 +55,19 @@
|
||||
top: 100%;
|
||||
}*/
|
||||
|
||||
/* Create the parallax scrolling effect */
|
||||
.parallax {
|
||||
height: 100%;
|
||||
background-attachment: fixed;
|
||||
/* Default background image properties for home sections. */
|
||||
.home-section.bg-image {
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
/* Create a parallax-like scrolling effect. */
|
||||
.parallax {
|
||||
height: 100%;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
.home-section:first-of-type {
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user