From a0e08fca2a9ab5564e2bb0f480ebd9ebb79771b3 Mon Sep 17 00:00:00 2001 From: Prathmesh Maurya Date: Tue, 26 Jun 2018 17:42:47 +0530 Subject: [PATCH] Added Responsive Design examples source files --- Prathmesh/box.html | 22 +++++++++++ Prathmesh/column-drop.html | 18 +++++++++ Prathmesh/columndrop.css | 69 ++++++++++++++++++++++++++++++++++ Prathmesh/fluid.css | 57 ++++++++++++++++++++++++++++ Prathmesh/index.html | 55 +++++++++++++++++++++++++++ Prathmesh/mostly-fluid.html | 19 ++++++++++ Prathmesh/viewport.css | 74 +++++++++++++++++++++++++++++++++++++ 7 files changed, 314 insertions(+) create mode 100644 Prathmesh/box.html create mode 100644 Prathmesh/column-drop.html create mode 100644 Prathmesh/columndrop.css create mode 100644 Prathmesh/fluid.css create mode 100644 Prathmesh/index.html create mode 100644 Prathmesh/mostly-fluid.html create mode 100644 Prathmesh/viewport.css diff --git a/Prathmesh/box.html b/Prathmesh/box.html new file mode 100644 index 0000000..2bf9775 --- /dev/null +++ b/Prathmesh/box.html @@ -0,0 +1,22 @@ + + + + + Box + + + + +
+
+
+
+
+
+
+
+
+
+
+ + \ No newline at end of file diff --git a/Prathmesh/column-drop.html b/Prathmesh/column-drop.html new file mode 100644 index 0000000..eb9da91 --- /dev/null +++ b/Prathmesh/column-drop.html @@ -0,0 +1,18 @@ + + + + + ColumnDrop + + + +
+
+
+
+
+
+
+
+ + \ No newline at end of file diff --git a/Prathmesh/columndrop.css b/Prathmesh/columndrop.css new file mode 100644 index 0000000..ffb0c7c --- /dev/null +++ b/Prathmesh/columndrop.css @@ -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; + } +} \ No newline at end of file diff --git a/Prathmesh/fluid.css b/Prathmesh/fluid.css new file mode 100644 index 0000000..bd05e76 --- /dev/null +++ b/Prathmesh/fluid.css @@ -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; + } +} \ No newline at end of file diff --git a/Prathmesh/index.html b/Prathmesh/index.html new file mode 100644 index 0000000..a6f33da --- /dev/null +++ b/Prathmesh/index.html @@ -0,0 +1,55 @@ + + + + + Index + + + + +

+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). + +

+ + \ No newline at end of file diff --git a/Prathmesh/mostly-fluid.html b/Prathmesh/mostly-fluid.html new file mode 100644 index 0000000..c049a04 --- /dev/null +++ b/Prathmesh/mostly-fluid.html @@ -0,0 +1,19 @@ + + + + + Mostly-Fluid + + + + +
+
+
+
+
+
+
+
+ + \ No newline at end of file diff --git a/Prathmesh/viewport.css b/Prathmesh/viewport.css new file mode 100644 index 0000000..45e8623 --- /dev/null +++ b/Prathmesh/viewport.css @@ -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; +} \ No newline at end of file