CSS Tutorial for Beginners #46-50

· 7년 전 · 1313

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

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

+
제목 글쓴이 날짜 조회
7년 전 조회 1,450
7년 전 조회 1,723
7년 전 조회 1,596
7년 전 조회 1,260
7년 전 조회 1,725
7년 전 조회 1,117
7년 전 조회 1,038
7년 전 조회 1,008
7년 전 조회 1,269
7년 전 조회 1,257
7년 전 조회 1,144
7년 전 조회 1,188
7년 전 조회 1,219
7년 전 조회 1,093
7년 전 조회 1,314
7년 전 조회 1,184
7년 전 조회 883
7년 전 조회 1,161
7년 전 조회 1,179
7년 전 조회 1,083
7년 전 조회 931
7년 전 조회 906
7년 전 조회 1,187
7년 전 조회 1,134
7년 전 조회 1,254
7년 전 조회 976
7년 전 조회 916
7년 전 조회 956
7년 전 조회 1,163
7년 전 조회 1,192