Flexboxen
bearbeitet von
Hi Matthias
> ~~~css
> #Titelbox2 {
> margin-left: 25%;
> margin-right: 25%;
> }
> ~~~
>
Das ist die 2. Zeile mit dem Text "roase.ch". Für die erste Zeile ist dieses CSS zuständig:
~~~CSS
#Titelbox1{
width: 25%;
...
margin-left:0%;
margin-right:75%;
margin-top: 0px;
margin-bottom:0px;
padding: 0px;
}
~~~
Die margins sind alle einzeln zugewiesen, aber die für top und bottom sind explizit null. Dasselbe für die zweite Zeile:
#Titelbox2{
font-size:3.5em;
text-shadow:
...
...
margin-top: 0px;
margin-left:25%;
margin-right:25%;
margin-bottom: 0px;
}
Gruss
Delbor