button-style-slanted

@include button-style-slanted($skew);

Description

Add a slanted background to your buttons.

Parameters

$skew (deg)
The amount you want to skew the background.
Default: -12deg

Return

(CSS) Styles to apply slant to buttons.

Example

Apply slant to buttons

@include button-style-slanted();

Apply slant to buttons with adjusted skew

@include button-style-slanted(20deg);

Interactive example


What’s Next

Check out the other button styles you can use: