내 코드는 다음과 같습니다div를 다른 div 위에 배치하는 방법은 무엇입니까?
HTML :
<section>
<div id="banner">
<div class="container">
<p class="para">hello world</p>
</div>
<div class="container banner-bottom">
<div class="card card-primary text-center z-depth-2 contact-main-text">
<div class="card-block">
<p class="white-text">Please fill out the form below and ESC
staff will be in contact with you shortly.</p>
</div>
</div>
</div>
</div>
</section>
CSS : Bootply
그리고 내가 원하는 :
.para{
color:white;
background: red;
padding:70px;
text-align:center;}
.white-text{
background:green;
padding:20px;}
출력이
아무도 도와 줄 수 있습니까?
예상 결과 출력의 예를 게시 할 수 있습니까? – Hackerman
@Hackerman "그리고 내가 원한다."그는 갑판장을 게시 된 그림처럼 보이기를 원한다. –
CSS 번역 속성은 여기에서 유용 할 수 있습니다. http://www.w3schools.com/css/css3_2dtransforms.asp –