diff --git a/pages/copy/index.html b/pages/copy/index.html new file mode 100644 index 0000000..f4fee75 --- /dev/null +++ b/pages/copy/index.html @@ -0,0 +1,24 @@ + +
+

Copying Popular Websites to Learn Tailwind

+ +

I've advocated for years that copying other websites is the best way to learn web design. Copying is a very common and established way to learn almost any creative discipline including (but not limited to): Painting, Drawing, Writing, Music, Wood Working, Lutherie, Design, and Programming. To demonstrate this I've been doing copies of websites to learn Tailwind. +

+ +

Current Examples

+

Here's the ones I've done so far

+ + + +

View the Code

+

You can view this code at my git repository. The copies can be found in pages/copy and the tool I use to generate the pages is one I wrote called ssgod. +

+ +
diff --git a/static/style.css b/static/style.css index 0041b32..83255a3 100644 --- a/static/style.css +++ b/static/style.css @@ -346,6 +346,9 @@ .gap-4 { gap: calc(var(--spacing) * 4); } + .gap-4\! { + gap: calc(var(--spacing) * 4) !important; + } .gap-5 { gap: calc(var(--spacing) * 5); } @@ -355,6 +358,9 @@ .gap-10 { gap: calc(var(--spacing) * 10); } + .gap-10\! { + gap: calc(var(--spacing) * 10) !important; + } .rounded-full { border-radius: calc(infinity * 1px); } @@ -486,24 +492,45 @@ .p-6 { padding: calc(var(--spacing) * 6); } + .p-40 { + padding: calc(var(--spacing) * 40); + } + .p-40\! { + padding: calc(var(--spacing) * 40) !important; + } .pt-4 { padding-top: calc(var(--spacing) * 4); } .pb-0\! { padding-bottom: calc(var(--spacing) * 0) !important; } + .pb-2 { + padding-bottom: calc(var(--spacing) * 2); + } .pb-3 { padding-bottom: calc(var(--spacing) * 3); } + .pb-3\! { + padding-bottom: calc(var(--spacing) * 3) !important; + } .pb-4 { padding-bottom: calc(var(--spacing) * 4); } + .pb-4\! { + padding-bottom: calc(var(--spacing) * 4) !important; + } .pb-5 { padding-bottom: calc(var(--spacing) * 5); } .pb-6 { padding-bottom: calc(var(--spacing) * 6); } + .pb-8 { + padding-bottom: calc(var(--spacing) * 8); + } + .pb-10\! { + padding-bottom: calc(var(--spacing) * 10) !important; + } .text-center { text-align: center; } @@ -559,6 +586,12 @@ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); transition-duration: var(--tw-duration, var(--default-transition-duration)); } + .\*\:text-xl { + :is(& > *) { + font-size: var(--text-xl); + line-height: var(--tw-leading, var(--text-xl--line-height)); + } + } .\*\:text-nowrap { :is(& > *) { text-wrap: nowrap;