LESS

[ColorB_F] LESS - exclusion() 함수 - difference() 함수와 유사하나, 더 낮은 대비 갖음. (= exclusion함수)

1,260

exclusion() 함수

[정의]

 

더 낮은 색상 대비를 갖을 뿐, difference() 함수와 유사.

 


[구문]

  

exclusion(color1, color2)

 


[매개변수]

 

color1

필수. 피감수 역할의 색상 코드. (예: 3-2=1에서 3)

 

color2

필수. 감수 역할의 색상 코드. (예: 3-2=1에서 2)

 


[예제]

 

채널별로 color1에서 color2를 뺀 더 낮은 대비의 color 코드 반환.

 


[예제]

 

exclusion(#ff6600, #000000); // ff6600

exclusion(#ff6600, #333333); // cc7033

 

 

PS.

LESS exclusion() 함수 예제 더 보기.

http://lesscss.org/functions/#color-blending-exclusion


분류 제목
basic LESS - Home (입문)
basic LESS - Intro (소개)
basic LESS - Installation (설치)
basic LESS - Variables (변수)
basic LESS - Parent Selectors (부모 선택자)
basic LESS - Mixins (믹스인)
basic LESS - Nesting (중첩 = 안긴 형태)
basic LESS - Operations (연산)
basic LESS - Escaping (회피 = 이스케이핑)・Function (함수)
basic LESS - Namespaces (네임스페이스)・Accessors (접근자)
basic LESS - Maps (맵)
basic LESS - Scope (유효 범위)
basic LESS - Comments (주석)
basic LESS - @import (가져오기)
1/8
목록
 홈  PC버전 로그인 일본어
그누앞단언어 12
그누뒷단언어
그외코딩언어
그누보드 1
제작의뢰
Q&A
커뮤니티
웹유틸
회원센터
홈짱닷컴 PC버전 로그인