Mein Code ist:Wie positioniert man ein Div über einem anderen 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:
.para{
color:white;
background: red;
padding:70px;
text-align:center;}
.white-text{
background:green;
padding:20px;}
Ausgang ist: Bootply
Und ich will:
Könnte mir jemand dabei helfen?
Können Sie ein Beispiel für Ihre erwartete Ergebnisausgabe veröffentlichen? – Hackerman
@Hackerman "Und ich will:", er will, dass das Bootply wie sein gepowertes Bild aussieht. –
Die css translate-Eigenschaft könnte hier nützlich sein: http://www.w3schools.com/css/css3_2dtransforms.asp –