dotsunited-off-canvas-navigation
Advanced tools
Comparing version 1.0.2 to 2.0.0
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "1.0.2", | ||
"version": "2.0.0", | ||
"repository": { | ||
@@ -12,0 +12,0 @@ "type": "git", |
@@ -44,3 +44,3 @@ Off-Canvas Navigation | ||
<a aria-controls="off-canvas-navigation-menu" aria-expanded="false" href="#off-canvas-navigation-menu" role="button" class="off-canvas-navigation-button" data-off-canvas-navigation-toggle> | ||
<span></span> | ||
<span><span></span></span> | ||
</a> | ||
@@ -74,2 +74,23 @@ | ||
How-tos | ||
------- | ||
### Change the size of the button | ||
To change the size of the button, just set a different width and height for the | ||
first nested `<span>`. | ||
```css | ||
@import "~dotsunited-off-canvas-navigation/lib/mixins"; | ||
.off-canvas-navigation-button { | ||
.dotsunited-off-canvas-navigation-button(off-canvas-navigation); | ||
> span { | ||
width: 100px; | ||
height: 90px; | ||
} | ||
} | ||
``` | ||
License | ||
@@ -76,0 +97,0 @@ ------- |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27430
99