이것이 가능한지 확실하지 않지만 Twitter 부트 스트랩을 사용하여 스팬 전체 너비와 높이를 채우고 싶습니다.부트 스트랩 이미지 스팬의 전체 너비
나는 너비가 span4이고 나머지 너비가 8 인 이미지가 있습니다.
나는 background : cover 클래스를 사용해 보았지만, 스팬의 너비 만 채울 것이고 높이를 지정할 때만 높이가 채워질 것입니다. 사전에
HTML
<div class="container-fluid">
<div class="row-fluid col-wrap">
<div class="span4 sidebar-red col">
<h1>About</h1>
<p class="lead">The first of its kind in Toronto…</p>
<p>Workplace One offers small businesses, entrepreneurs, professionals and anyone in between, a customized and unique work environment in a shared office community.</p>
<p>Workplace One offers flexibility. With customizable offices and services, Workplace One caters to the constant evolution of a small or growing business.</p>
<p>The unique space design encourages collaboration and provides an energy that can't be found in a home office, or other professional work environment.</p>
</div><!--/span-->
<div class="span8">
<img src="img/h_ph.jpg"/>
</div><!--/span-->
</div><!--/span-->
</div><!--/row-->
감사
JB
가로 세로 비율을 유지 하시겠습니까? 높이는 원본 그림의 높이와 폭의 너비에 따라 결정되는 것처럼 보입니다. – brbcoding
저는 가로 세로 비율을 걱정하지 않습니다. –
당신은'background : cover'를 사용했지만 HTML은 IMG를 보여줬다 고 말했습니까 ... span8 안에 배경 이미지 나 이미지를 원하십니까? – ZimSystem