I would like the text and its border to remain fixed at the bottom of the body element. Additionally, I want the text to be positioned right at the edge of the div boundary.
@import url(https://fonts.googleapis.com/css?family=Bungee);
body {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.text {
height: 50vh;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Bungee';
font-size: 5em;
}
p {
border: solid 8px;
padding: 0px 40px;
}
<body>
<div class="text">
<p>TEXT</p>
</div>
</body>