--- --- <div class="wrap"> <div> <span>FIRQ FGO SITE</span> <slot /> </div> </div> <style> .wrap { display: block; } .wrap > div { display: flex; padding: 15% 20%; align-items: center; justify-content: center; flex-direction: column; } span { display: inline-block; padding: 0.1em; font-weight: bold; color: white; font-size: 5em; background-color: #1e1e1e; } </style>