You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,14 @@ Is a compontent for fast 60fps parallax scroll effects in vue 2.
45
45
| fixed | Boolean | false | Other parallax effect. Image is fixed in position |
46
46
| sectionHeight | Number | 70 | section height for mobile |
47
47
| breakpoint | String | '(min-width: 968px)' | Media query for mobile deactivation |
48
+
| sectionClass | String | 'Masthead' | CSS class of the outer section tag |
49
+
| containerClass | String | 'Masthead__image' | CSS class of the container holding the image |
50
+
| parallaxClass | String | 'is-parallax' | Modifier class for the parallax effect |
51
+
| fixedClass | String | 'is-fixed' | Modifier class for the fixed parallax effect |
48
52
53
+
## Customizing
54
+
55
+
You can change some of the behavior by changing the css classes. To be more clean, you can change them over the props. No need to overwrite or `!important` the existing classes.
0 commit comments