오픈위키
문서 편집

Css Background

background: [background-color || background-image ||
  background-repeat || background-attachment ||
  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

 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;
  • 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)
CC Attribution-Noncommercial-Share Alike 4.0 International 별도로 명시하지 않을 경우, 이 위키의 내용은 다음 라이선스에 따라 사용할 수 있습니다: CC Attribution-Noncommercial-Share Alike 4.0 International
926 B tech/css_background.txt · 마지막으로 수정됨 2017/07/03 21:13 저자 V_L V_L

0.026 seconds in processing this page on this powerful server.