CSS Tutorial for Beginners #46-50

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

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,325
19-02-19 조회 1,212
19-02-18 조회 1,251
19-02-18 조회 1,284
19-02-17 조회 1,155
19-02-17 조회 1,381
19-02-17 조회 1,252
19-02-16 조회 937
19-02-16 조회 1,230
19-02-16 조회 1,247
19-02-15 조회 1,142
19-02-14 조회 990
19-02-13 조회 972
19-02-12 조회 1,252
19-02-12 조회 1,198
19-02-11 조회 1,309
19-02-11 조회 1,027
19-02-11 조회 982
19-02-10 조회 1,020
19-02-10 조회 1,229
19-02-10 조회 1,247
19-02-09 조회 1,018
19-02-09 조회 1,138
19-02-08 조회 4,068
19-02-08 조회 1,346
19-02-08 조회 1,070
19-02-08 조회 1,285
19-02-08 조회 1,441
19-02-08 조회 1,293