Created
January 29, 2020 15:19
-
-
Save zonay/9565faa70487ae44fc2604bd05436722 to your computer and use it in GitHub Desktop.
bootstrap 4 vertical align by table cell method
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<div class="row"> | |
<div class="col-12 bg-warning p-3 d-table h-100 w-100"> | |
<span class="display-4 h4 ml-2 text-uppercase text-dark font-weight-bolder d-table-cell align-middle"><?php single_cat_title( __( '', 'textdomain' ) ); ?></span> | |
<a href="{{ home_url('/kyiv_events') }}" | |
class="btn btn-outline-dark btn-sm d-table-cell align-middle"><i class="far fa-circle"></i> Browse All Events</a> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment