From 13f7eb835c3cc567e5082cda304ba95b576d93c6 Mon Sep 17 00:00:00 2001 From: Charles Showalter Date: Mon, 27 Mar 2023 18:04:15 -0700 Subject: [PATCH] Day 26 and 27 Completed --- Click and Drag [27-30]/index.html | 72 +++++++++ Click and Drag [27-30]/style.css | 70 ++++++++ Stripe Follow [26-30]/index.html | 259 ++++++++++++++++++++++++++++++ 3 files changed, 401 insertions(+) create mode 100644 Click and Drag [27-30]/index.html create mode 100644 Click and Drag [27-30]/style.css create mode 100644 Stripe Follow [26-30]/index.html diff --git a/Click and Drag [27-30]/index.html b/Click and Drag [27-30]/index.html new file mode 100644 index 0000000..fcbe4f0 --- /dev/null +++ b/Click and Drag [27-30]/index.html @@ -0,0 +1,72 @@ + + + + + Click and Drag + + + + +
+
01
+
02
+
03
+
04
+
05
+
06
+
07
+
08
+
09
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
+ + + + + diff --git a/Click and Drag [27-30]/style.css b/Click and Drag [27-30]/style.css new file mode 100644 index 0000000..debd092 --- /dev/null +++ b/Click and Drag [27-30]/style.css @@ -0,0 +1,70 @@ +html { + box-sizing: border-box; + background: url('https://source.unsplash.com/NFs6dRTBgaM/2000x2000') fixed; + background-size: cover; +} + +*, *:before, *:after { + box-sizing: inherit; +} + +body { + min-height: 100vh; + display: flex; + justify-content: center; + align-items: center; + font-family: sans-serif; + font-size: 20px; + margin: 0; +} + +.items { + height: 800px; + padding: 100px; + width: 100%; + border: 1px solid white; + overflow-x: scroll; + overflow-y: hidden; + white-space: nowrap; + user-select: none; + cursor: pointer; + transition: all 0.2s; + transform: scale(0.98); + will-change: transform; + position: relative; + background: rgba(255,255,255,0.1); + font-size: 0; + perspective: 500px; +} + +.items.active { + background: rgba(255,255,255,0.3); + cursor: grabbing; + cursor: -webkit-grabbing; + transform: scale(1); +} + +.item { + width: 200px; + height: calc(100% - 40px); + display: inline-flex; + align-items: center; + justify-content: center; + font-size: 80px; + font-weight: 100; + color: rgba(0,0,0,0.15); + box-shadow: inset 0 0 0 10px rgba(0,0,0,0.15); +} + +.item:nth-child(9n+1) { background: dodgerblue;} +.item:nth-child(9n+2) { background: goldenrod;} +.item:nth-child(9n+3) { background: paleturquoise;} +.item:nth-child(9n+4) { background: gold;} +.item:nth-child(9n+5) { background: cadetblue;} +.item:nth-child(9n+6) { background: tomato;} +.item:nth-child(9n+7) { background: lightcoral;} +.item:nth-child(9n+8) { background: darkslateblue;} +.item:nth-child(9n+9) { background: rebeccapurple;} + +.item:nth-child(even) { transform: scaleX(1.31) rotateY(40deg); } +.item:nth-child(odd) { transform: scaleX(1.31) rotateY(-40deg); } diff --git a/Stripe Follow [26-30]/index.html b/Stripe Follow [26-30]/index.html new file mode 100644 index 0000000..53aaa8e --- /dev/null +++ b/Stripe Follow [26-30]/index.html @@ -0,0 +1,259 @@ + + + + + Follow Along Nav + + + +

Cool

+ + + + + + + +