Currently, my text "lorum ipsum" is centered in CSS, but I want to align it to the left and add padding on the right later. Can someone explain what I've created here?
#ubba {
font-family: "Open Sans", sans-serif;
font-size: 20px;
font-weight: bold;
text-align: center;
padding-left: auto;
margin-top: auto;
}
#besch {
font-family: "Open Sans", sans-serif;
font-size: 20px;
text-align: left;
padding-right: 0%;
padding-left: 0%;
margin-right: 0%;
margin-left: 0%;
}
* {
box-sizing: border-box;
margin: 0px;
height: auto;
width: auto;
}
body {
font-family: "Open Sans";
line-height: 1.618em;
background: #ecf0f1;
color: #444;
}
.wrapper {
max-width: 500px;
width: 100%;
margin: 0 auto;
}
<div class="wrapper">
<div id="ubba">
<p>Heading:</p>
</div>
<div id="besch">
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea
takimata sanctus est Lorem ipsum dolor sit amet.</p>
</div>