차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
tech:css_background [2017/06/08 15:35] – 만듦 V_Ltech:css_background [2017/07/03 12:43] (현재) V_L
줄 11: 줄 11:
     background-position] | inherit]      background-position] | inherit] 
  
 +
 +  background-image: url(/img/4x3.png);
 +  background-repeat: no-repeat;
 +   background-position: center center;
 +   background-attachment: fixed; 
 +  -webkit-background-size: cover;
 +  -moz-background-size: cover;
 +  -o-background-size: cover;
 +  background-size: cover;
 +
 +=====Cover=====
 +
 +<file css>
 + background: url(images/bg.jpg) no-repeat center center fixed; 
 +  -webkit-background-size: cover;
 +  -moz-background-size: cover;
 +  -o-background-size: cover;
 +  background-size: cover;
 +</file>
 +
 +  * Safari 3+
 +  * Chrome Whatever+
 +  * IE 9+
 +  * Opera 10+ (Opera 9.5 supported background-size but not the keywords)
 +  * Firefox 3.6+ (Firefox 4 supports non-vendor prefixed version)