Created
          November 8, 2015 02:10 
        
      - 
      
- 
        Save ungoldman/1ec41500273bf41bf6bc to your computer and use it in GitHub Desktop. 
    positioning text over an 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
    
  
  
    
  | <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Bikelandia</title> | |
| <style> | |
| html, body { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| .hero { | |
| background: url(http://www.planwallpaper.com/static/images/recycled_texture_background_by_sandeep_m-d6aeau9_PZ9chud.jpg) center center no-repeat; | |
| background-size: cover; | |
| position: relative; | |
| min-height: 500px; | |
| } | |
| .text { | |
| color: #ffffff; | |
| font-family: Impact; | |
| font-size: 24px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <header class="site-header"> | |
| <h1>Bikelandia</h1> | |
| </header> | |
| <div class="hero"> | |
| <p class="text">This site is cool!</p> | |
| </div> | |
| </body> | |
| </html> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Thanks!