마

CSS Tutorial for Beginners #46-50

· 2019-02-17 (일) 00:31:24 · 1411

Multiple Backgrounds

 

background-image: url([1stImg), url(2ndImg);

background-repeat: no-repeat, no-repeat

background-position: center, top left;

background-size: 300px, 100%;

 

 

Color

hex color

0: darkest f: lightest

red, green, blue channel 

 

rgb color: rgb(red, green, blue);

 

Opacity

 

opactity: 0부터 1까지.  1이 solid,  안에 있는 텍스트까지

 

background에서 rgb대신에 rgba로..

 

 

CSS Gradients

 

.button{

  display: block;

  width: 100px;

  padding: 12px;

  border: 1px solid #77aaaa;

  font-family: arial;

  font-weight: bold;

  text-transform: uppercase;

  color: #fff;

  font-size: 14px;

  text-align: center;

  border-radius: 4px;

  background: #aadddd;

}

 

linear-gradient(top, #aadddd 0%, #77aaaa 100%)

                           시작컬러         

 

-moz- : firefox

-webkit- : chrome

 

Ulimate CSS Gradient Generator

www.colorzilla.com/gradient-editor/  

 

 

Box Shadow

 

box-shadow: 2px 2px 4px 2px rgba(40,40,40,0.6); h-offset, v-offset, blur, spread, color

https://www.w3schools.com/cssref/css3_pr_box-shadow.asp 참조

 

www.cssmatic.com/box-shadow

 

 

|
댓글을 작성하시려면 로그인이 필요합니다.

CSS

89건

CSS 관련 공부 및 자료 공유 소모임 게시판 입니다.

+
제목 글쓴이 날짜 조회
19-02-19 조회 1,354
19-02-19 조회 1,237
19-02-18 조회 1,275
19-02-18 조회 1,314
19-02-17 조회 1,176
19-02-17 조회 1,412
19-02-17 조회 1,276
19-02-16 조회 966
19-02-16 조회 1,253
19-02-16 조회 1,267
19-02-15 조회 1,169
19-02-14 조회 1,015
19-02-13 조회 999
19-02-12 조회 1,278
19-02-12 조회 1,238
19-02-11 조회 1,343
19-02-11 조회 1,049
19-02-11 조회 1,006
19-02-10 조회 1,094
19-02-10 조회 1,248
19-02-10 조회 1,316
19-02-09 조회 1,042
19-02-09 조회 1,162
19-02-08 조회 4,089
19-02-08 조회 1,368
19-02-08 조회 1,099
19-02-08 조회 1,308
19-02-08 조회 1,470
19-02-08 조회 1,320