Created
July 31, 2019 09:38
-
-
Save MThakkar121/2232399e10d694f70f3bf07a37ccc341 to your computer and use it in GitHub Desktop.
difference files between scss and sass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Scss syntax | |
@mixin button-base() { | |
@include typography(button); | |
@include ripple-surface; | |
@include ripple-radius-bounded; | |
display: inline-flex; | |
position: relative; | |
height: $button-height; | |
border: none; | |
vertical-align: middle; | |
&:hover { | |
cursor: pointer; | |
} | |
&:disabled { | |
color: $mdc-button-disabled-ink-color; | |
cursor: default; | |
pointer-events: none; | |
} | |
} | |
//Sass Syntax | |
@mixin button-base() | |
@include typography(button) | |
@include ripple-surface | |
@include ripple-radius-bounded | |
display: inline-flex | |
position: relative | |
height: $button-height | |
border: none | |
vertical-align: middle | |
&:hover | |
cursor: pointer | |
&:disabled | |
color: $mdc-button-disabled-ink-color | |
cursor: default | |
pointer-events: none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment