From c5a0b47a8261caf71f667b8985383c5ec20969c3 Mon Sep 17 00:00:00 2001 From: AnthonyCatalfo Date: Wed, 24 Jan 2018 00:35:45 -0500 Subject: [PATCH] Anthony Catalfo Box Model --- index.html | 22 +++++++++++++++++++++ mockups/test.html | 19 ++++++++++++++++++ package-lock.json | 3 +++ styles.css | 49 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 93 insertions(+) create mode 100644 mockups/test.html create mode 100644 package-lock.json diff --git a/index.html b/index.html index f74abbf..b7384f9 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,28 @@ +
+

Header      

+
+
+ New! + +
+ 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. +
+ +
+ 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. +
+ + +
+ + + + + + \ No newline at end of file diff --git a/mockups/test.html b/mockups/test.html new file mode 100644 index 0000000..d92cff2 --- /dev/null +++ b/mockups/test.html @@ -0,0 +1,19 @@ + + Introduction to the DOM + + + +
+
+
+

Left Half

+

Weekends don't count unless you spend them doing something completely pointless.

+
+
+
+
+

Right Half

+

If your knees aren't green by the end of the day, you ought to seriously re-examine your life.

+
+
+
\ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..48e341a --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3 @@ +{ + "lockfileVersion": 1 +} diff --git a/styles.css b/styles.css index e69de29..2ce9f20 100644 --- a/styles.css +++ b/styles.css @@ -0,0 +1,49 @@ +.b{ + display:inline-block; + position: absolute; + width: calc(50%); + background-color: white; + border:9.32px solid black; + padding: 10px; + } +.b1{ + left: 0px; +} +.b2{ + right: 0px; +} + +.new{ + background-color: gray; + position: absolute; + top: 10px; + right:16%; + padding:8px; + +} + +.cont{ +margin-top:10%; +} + +.top{ + position: fixed ; + top:0; + width: 100%; + height: 5%; + background-color: black; + +} +.bottom{ + position: fixed ; + bottom:0; + width: 100%; + height: 5%; + background-color: black; + +} + +h1 { + margin-top:50px; + text-align: center; +} \ No newline at end of file