하지만 난 로렌아줌마가 정렬하려면 가능성 실로나는 오프셋하는 알고 있지만 그 가운데에 있는 div 포맷됩니다 오른쪽에 컨테이너입니다 제공하십시오 풀위드스 모바일 보기입니다. # 39, & # 39 pull-right& 클래스. 더 이상 작동하지 않습니다. 아니면 내가 무언가 빠진 명백하네 않았습니다 바꾸시겠습니까 찾은거야?
<div class="row">
<div class="container">
<div class="col-md-4">
left content
</div>
<div class="col-md-4 col-md-offset-4">
<!-- The next div has a background color and its own paddings and should be aligned right-->
<!-- It is now in the right column but aligned left in that column -->
<div class="yellow_background">right content</div>
</div>
</div>
</div>
슈어 방법 '이 있을 수 있지만, 실제로 그렇게 그러니까말이야 순결케 부트스트랩에 CSS 3?
여전히 그곳에 부트스트랩에 오른쪽 당기십시오 3 클래스 [# 39, & # 39, 도우미 classes& 볼 여기] [1]
오른쪽 당기십시오 정의됩니다
.pull-right {
float: right !important;
}
말해둘꼐요 당기는 것이 바로 이 이스빈 이 때 보다 더 많은 페이지를 보면 990px 원하는거요 열 md 스타일 발로 에서 - 첫 3 부트스트랩에 기술입니까 모바일 및 모든.
[1]: http://getbootstrap.com/css/ # 도우미 클래스뿐만
Do you mean 이 같은 일이.
<div class="row">
<div class="container">
<div class="col-md-4">
left content
</div>
<div class="col-md-4 col-md-offset-4">
<div class="yellow-background">
text
<div class="pull-right">right content</div>
</div>
</div>
</div>
</div>
.yellow-background {
background: blue;
}
.pull-right {
background: yellow;
}
전체 예제에서와 고데펜 에서 찾을 수 있습니다.
i think you try 정렬하려면 div, div 안에 오른쪽에 있는 내용 자체가 이미 누름식 오프셋할 오른쪽으로, 여기에 몇 가지 코드 및 라이브입니다 샘플링합니다: <, br/>, FYI. '만' .pull-right 밉니다 내용이 아닌 오른쪽, div 안에 div.
HTML:
<div class="row">
<div class="container">
<div class="col-md-4 someclass">
left content
</div>
<div class="col-md-4 col-md-offset-4 someclass">
<div class="yellow_background totheright">right content</div>
</div>
</div>
</div>
CSS.
.someclass{ /*this class for testing purpose only*/
border:1px solid blue;
line-height:2em;
}
.totheright{ /*this will align the text to the right*/
text-align:right;
}
.yellow_background{
background-color:yellow;
}
다른 수정:
...
<div class="yellow_background totheright">
<span>right content</span>
<br/>image also align-right<br/>
<img width="15%" src="https://www.google.com/images/srpr/logo11w.png"/>
</div>
...
it 는 문제가 선택해제합니다 희망을
>. 또 '리플로이트 sm, md, lg, xl - {} - {}' 클래스 '에 대한 왼쪽, 오른쪽, 되니그들 .pull-left 양복점집 예비형 수 있기 때문에' 와 '.pull-right 응답성의 유동합니다 및 재거됨' '.float-left' 와 '.float-right'.
그래서 list. .float-right ' (또는 크기 등' avamer .float-lg-right ')' 대신 ',' for your right 맞춤에는 .pull-right you& 최신 버전을 사용할 경우 # 39 쪽의 부트스트랩에.