programmers! I am workin on coding an infinate limousine and cant figure it out how do you place the preformatted text (pre) on the left side instead of under in the div "wrapper".
html, body {
margin: 0;
min-width: 100%;
min-height: 100%;
}
.wrapper {
padding-top: 30vh;
padding-left: 25vw;
width: 271px;
margin: auto;
}
<div class="wrapper">
<pre>
_________
/ |
/ |
__________________/()__________|
{}_________________|___________=_|
{ } ______ | . |
_{ #}_ /## ## | |
{______)__|## ##|___|_____________|
##__##
</pre>
<pre class="seat">
_____________________________________________________
|
|
____________________________________________________|
__________________________________________________=_|
. |
|
____________________________________________________|
</pre>
</div>
I have tried fload:right;
but it did not work.
2
Answers
Grid is the way to go when it comes to column-based interfaces:
Try it:
You can do so by giving the ".wrapper" class a
display: flex;
property and setting the padding and margin to your preference.