How to write code in reddit

HTML

<body>

<div class="within">

<div class="circle2"></div>

<div class="circle3"></div>

<div class="container">

<div class="pseudo-1"></div>

<div class="column-1"></div>

<div class="pseudo-2"></div>

<div class="circle"></div>

<div class="pseudo-3"></div>

<div class="column-2"></div>

<div class="pseudo-4"></div>

</div>

</div>

</body>

</html>

CSS

* {

margin: 0;

padding: 0;

border: 1px solid red;

}

.within {

position: relative;

}

.container {

height: 100vh;

display: flex;

align-items: center;

justify-content: space-between;

background: #6592cf;

}

.column-1 {

height: 150px;

width: 50px;

background: #243d83;

}

.pseudo-1 {

flex-grow: 0.25;

}

.pseudo-4 {

flex-grow: 0.25;

}

.circle {

height: 150px;

width: 150px;

background: #243d83;

border-radius: 50%;

}

.circle2 {

position: absolute;

color: #6592cf;

height: 250px;

width: 250px;

border-radius: 50%;

bottom: 30px;

right: 70px;

}

.circle3 {

position: absolute;

height: 50px;

width: 50px;

bottom: 125px;

right: 175px;

border-radius: 50%;

background: #eeb850;

}

.column-2 {

height: 150px;

width: 50px;

background: #243d83;

}

/r/cs50 Thread