Created
September 17, 2018 14:07
-
-
Save wicky-andrian/160765026ebd1d8eacb8416e63ed1ad3 to your computer and use it in GitHub Desktop.
rails css inline style background-image
This file contains hidden or 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
| <header class="masthead text-center text-white d-flex" style="background-image: url(<%= asset_path 'header.jpg' %>) !important;"> | |
| <div class="container my-auto"> | |
| <div class="row"> | |
| <div class="col-lg-10 mx-auto"> | |
| <h1 class="text-uppercase"> | |
| <strong>Your Favorite Source of Free Bootstrap Themes</strong> | |
| </h1> | |
| <hr> | |
| </div> | |
| <div class="col-lg-8 mx-auto"> | |
| <p class="text-faded mb-5">Start Bootstrap can help you build better websites using the Bootstrap CSS framework! Just download your template and start going, no strings attached!</p> | |
| <a class="btn btn-primary btn-xl js-scroll-trigger" href="#about">Find Out More</a> | |
| </div> | |
| </div> | |
| </div> | |
| </header> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment