-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
home page made responsive with bootstrap
* home page is responsive now * final commit after rechecking * make bg image responsive
- Loading branch information
1 parent
21c277c
commit 29f0349
Showing
1 changed file
with
20 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
|
||
<!-- for bootstrap css --> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous"> | ||
<style> | ||
|
||
body{ | ||
/* background-image: url("https://images.pexels.com/photos/48604/pexels-photo-48604.jpeg?cs=srgb&dl=pexels-negative-space-48604.jpg&fm=jpg"); */ | ||
background-image: url("https://wallpaper-mania.com/wp-content/uploads/2018/09/High_resolution_wallpaper_background_ID_77701388996.jpg" ); | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
} | ||
|
||
/* .header-img{ | ||
background-image: url("https://images.pexels.com/photos/48604/pexels-photo-48604.jpeg?cs=srgb&dl=pexels-negative-space-48604.jpg&fm=jpg"); | ||
background-size: cover; | ||
|
@@ -18,7 +19,22 @@ | |
min-height: 480px; | ||
} */ | ||
|
||
|
||
/* On screens that are 992px or less, set the background color to blue */ | ||
@media screen and (max-width: 992px) { | ||
.content p | ||
{ | ||
font-size:1.2rem; | ||
} | ||
.content h1 { | ||
font-size:2.5rem; | ||
} | ||
body{ | ||
background-image: url("https://wallpaper-mania.com/wp-content/uploads/2018/09/High_resolution_wallpaper_background_ID_77701388996.jpg" ); | ||
background-size: cover; | ||
height:100vh; | ||
background-repeat: no-repeat; | ||
} | ||
} | ||
</style> | ||
|
||
<?php include("templates/header.php") ?> | ||
|