-
Notifications
You must be signed in to change notification settings - Fork 120
Added Responsive Design examples source files #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
prathmeshmaurya
wants to merge
1
commit into
aayusharora:master
Choose a base branch
from
prathmeshmaurya:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <title>Box</title> | ||
| <link rel="stylesheet" href="viewport.css"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
| </head> | ||
| <body> | ||
| <div class="container"> | ||
| <div class="box box1"></div> | ||
| <div class="box box2"></div> | ||
| <div class="box box3"></div> | ||
| <div class="box box4"></div> | ||
| <div class="box box5"></div> | ||
| <div class="box box6"></div> | ||
| <div class="box box7"></div> | ||
| <div class="box box8"></div> | ||
| <div class="box box9"></div> | ||
| </div> | ||
| </body> | ||
| </html> |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <title>ColumnDrop</title> | ||
| <link rel="stylesheet" href="columndrop.css"> | ||
| </head> | ||
| <body> | ||
| <div class="container"> | ||
| <div class="box box1"></div> | ||
| <div class="box box2"></div> | ||
| <div class="box box3"></div> | ||
| <div class="box box4"></div> | ||
| <div class="box box5"></div> | ||
| <div class="box box6"></div> | ||
| </div> | ||
| </body> | ||
| </html> |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| .container { | ||
| display: flex; | ||
| flex-wrap: wrap; | ||
| max-width: 800px; | ||
| } | ||
|
|
||
| .box { | ||
| width: 100%; | ||
| height: 200px; | ||
| } | ||
|
|
||
| .box1 { | ||
| background-color: palevioletred; | ||
|
|
||
| } | ||
|
|
||
| .box2 { | ||
| background-color: indianred; | ||
|
|
||
| } | ||
|
|
||
| .box3 { | ||
| background-color: green; | ||
|
|
||
| } | ||
|
|
||
| .box4 { | ||
| background-color: gold; | ||
|
|
||
| } | ||
|
|
||
| .box5 { | ||
| background-color: greenyellow; | ||
|
|
||
| } | ||
|
|
||
| .box6 { | ||
| background-color: aquamarine; | ||
|
|
||
| } | ||
|
|
||
|
|
||
| @media screen and (min-width: 600px) { | ||
| .box1 { | ||
| width: 80%; | ||
| order: 2; | ||
| } | ||
|
|
||
| .box2 { | ||
| width: 20%; | ||
| order: 1; | ||
| } | ||
| .box3, .box4, .box5, .box6 { | ||
| width: 100%; | ||
| } | ||
| .box3 { | ||
| order: 3; | ||
| } | ||
| .box4 { | ||
| order:4; | ||
| } | ||
| .box5 { | ||
| order: 5; | ||
|
|
||
| } | ||
| .box6 { | ||
| order: 6; | ||
| } | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
|
|
||
| .container { | ||
| display: flex; | ||
| flex-wrap: wrap; | ||
| max-width: 800px; | ||
| } | ||
|
|
||
| .box { | ||
| width: 100%; | ||
| height: 200px; | ||
| } | ||
|
|
||
| .box1 { | ||
| background-color: palevioletred; | ||
| } | ||
|
|
||
| .box2 { | ||
| background-color: indianred; | ||
| } | ||
|
|
||
| .box3 { | ||
| background-color: green; | ||
| } | ||
|
|
||
| .box4 { | ||
| background-color: gold; | ||
| } | ||
|
|
||
| .box5 { | ||
| background-color: greenyellow; | ||
| } | ||
|
|
||
| .box6 { | ||
| background-color: aquamarine; | ||
| } | ||
|
|
||
| @media screen and (min-width: 600px) { | ||
| .box1 { | ||
| width: 60%; | ||
| height: 400px; | ||
| } | ||
|
|
||
| .box2 { | ||
| width: 40%; | ||
| height: 400px; | ||
| } | ||
|
|
||
| .box3, .box4, .box5, .box6 { | ||
| width: 50%; | ||
| } | ||
| } | ||
|
|
||
| @media screen and (min-width: 800px) { | ||
| .container { | ||
| margin: 0 auto; | ||
| } | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <title>Index</title> | ||
| <link rel="stylesheet" href="viewport.css"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
| </head> | ||
| <body> | ||
| <p class="color-text"> | ||
| What is Lorem Ipsum? | ||
| Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. | ||
|
|
||
| Why do we use it? | ||
| It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). | ||
|
|
||
| What is Lorem Ipsum? | ||
| Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. | ||
|
|
||
| Why do we use it? | ||
| It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). | ||
|
|
||
| What is Lorem Ipsum? | ||
| Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. | ||
|
|
||
| Why do we use it? | ||
| It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). | ||
|
|
||
| What is Lorem Ipsum? | ||
| Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. | ||
|
|
||
| Why do we use it? | ||
| It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). | ||
|
|
||
| What is Lorem Ipsum? | ||
| Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. | ||
|
|
||
| Why do we use it? | ||
| It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). | ||
|
|
||
| What is Lorem Ipsum? | ||
| Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. | ||
|
|
||
| Why do we use it? | ||
| It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). | ||
|
|
||
| What is Lorem Ipsum? | ||
| Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. | ||
|
|
||
| Why do we use it? | ||
| It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). | ||
|
|
||
| </p> | ||
| </body> | ||
| </html> | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <title>Mostly-Fluid</title> | ||
| <link rel="stylesheet" href="fluid.css"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
| </head> | ||
| <body> | ||
| <div class="container"> | ||
| <div class="box box1"></div> | ||
| <div class="box box2"></div> | ||
| <div class="box box3"></div> | ||
| <div class="box box4"></div> | ||
| <div class="box box5"></div> | ||
| <div class="box box6"></div> | ||
| </div> | ||
| </body> | ||
| </html> |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| /*.color-text {*/ | ||
| /*color: blue;*/ | ||
| /*}*/ | ||
|
|
||
| /*@media screen and (max-width: 600px){*/ | ||
| /*.color-text {*/ | ||
| /*color: red;*/ | ||
| /*}*/ | ||
| /*}*/ | ||
|
|
||
| /*.box {*/ | ||
| /*width: 32%;*/ | ||
| /*height: 200px;*/ | ||
| /*border: 1px dashed red;*/ | ||
| /*display: inline-block;*/ | ||
| /*}*/ | ||
|
|
||
| /*@media screen and (max-width: 700px) {*/ | ||
| /*.box {*/ | ||
| /*width: 49%;*/ | ||
| /*}*/ | ||
| /*}*/ | ||
|
|
||
| /*@media screen and (max-width: 484px) {*/ | ||
| /*.box {*/ | ||
| /*width: 100%;*/ | ||
| /*}*/ | ||
| /*}*/ | ||
|
|
||
| .container { | ||
| display: flex; | ||
| flex-wrap: wrap; | ||
| } | ||
|
|
||
| .box { | ||
| width: 33%; | ||
| height: 200px; | ||
| } | ||
|
|
||
| .box1 { | ||
| background-color: palevioletred; | ||
| } | ||
|
|
||
| .box2 { | ||
| background-color: indianred; | ||
| } | ||
|
|
||
| .box3 { | ||
| background-color: green; | ||
| } | ||
|
|
||
| .box4 { | ||
| background-color: gold; | ||
| } | ||
|
|
||
| .box5 { | ||
| background-color: greenyellow; | ||
| } | ||
|
|
||
| .box6 { | ||
| background-color: orange; | ||
| } | ||
|
|
||
| .box7 { | ||
| background-color: blue; | ||
| } | ||
|
|
||
| .box8 { | ||
| background-color: rosybrown; | ||
| } | ||
|
|
||
| .box9 { | ||
| background-color: goldenrod; | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this . file