reset-button()
버튼 요소 초기화 믹스인
용도
<button>
요소를 초기화 설정하는 믹스인입니다.
사용법
reset-button()
믹스인을 실행합니다.
reset-button()
button, .button {
@include reset-button;
}
위 예시 코드는 아래의 CSS로 컴파일 되어 출력됩니다.
button, .button {
user-select: none;
cursor: pointer;
}
로직
reset-button()
믹스인은 다음의 로직에 의해 작성되었습니다.
@mixin reset-button() {
user-select: none;
cursor: pointer;
}
믹스인을 호출하면 코드를 출력
참고
믹스인에 사용된 Sass의 빌트인 모듈은 다음과 같습니다.
Last updated
Was this helpful?