Apply style only to container div

This commit is contained in:
George Lacey 2021-05-10 18:57:38 +01:00
parent a66db44a26
commit 08a3169440

View File

@ -11,7 +11,7 @@ html, body {
height: 80%; height: 80%;
} }
body { text-container {
display: flex; display: flex;
align-items: center; align-items: center;
background-color: aliceblue; background-color: aliceblue;
@ -21,7 +21,7 @@ html, body {
{% block body %} {% block body %}
<div class="mx-auto w-25 px-5"> <div class="text-container mx-auto w-25 px-5">
<div class="mx-5"> <div class="mx-5">
<h1 class="h1">Page not found!</h1> <h1 class="h1">Page not found!</h1>
</div> </div>