CSS Tutorial for Beginners #46-50

· 6년 전 · 1097

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 관련 공부 및 자료 공유 소모임 게시판 입니다.

+
제목 글쓴이 날짜 조회
6년 전 조회 1,217
6년 전 조회 1,493
6년 전 조회 1,356
6년 전 조회 1,028
6년 전 조회 1,487
6년 전 조회 881
6년 전 조회 816
6년 전 조회 765
6년 전 조회 1,047
6년 전 조회 993
6년 전 조회 938
6년 전 조회 980
6년 전 조회 1,010
6년 전 조회 889
6년 전 조회 1,098
6년 전 조회 987
6년 전 조회 669
6년 전 조회 950
6년 전 조회 980
6년 전 조회 876
6년 전 조회 747
6년 전 조회 722
6년 전 조회 998
6년 전 조회 953
6년 전 조회 1,071
6년 전 조회 800
6년 전 조회 747
6년 전 조회 776
6년 전 조회 989
6년 전 조회 1,026
🐛 버그신고