From: Ardis Lu Date: Wed, 11 Jan 2023 03:50:13 +0000 (-0800) Subject: Remove unnecessary wrapper div X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=370546d433fa223da3036edebc2e1f3beaf50cd6;p=sleepy-operators Remove unnecessary wrapper div --- diff --git a/index.html b/index.html index e0fe49c..4ef82b2 100644 --- a/index.html +++ b/index.html @@ -10,66 +10,64 @@ -
-
-

sleepy-operators

+
+

sleepy-operators

- - - GitHub repository - - - - -
+ + + GitHub repository + + + + +
-
-

Open the DevTools console to start the demo.

+
+

Open the DevTools console to start the demo.

-

Press F12 and click the "Console" tab.

+

Press F12 and click the "Console" tab.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Keyboard shortcuts to open the DevTools console in various operating systems and web browsers. If none of these shortcuts work, press F12 and click the "Console" tab.
OSBrowserShortcut
Windows/LinuxChrome/EdgeCtrl + Shift + J
Windows/LinuxFirefoxCtrl + Shift + K
macOSChrome/Edge⌘ + Option + J
macOSFirefox⌘ + Option + K
macOSSafari⌘ + Option + C
-
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Keyboard shortcuts to open the DevTools console in various operating systems and web browsers. If none of these shortcuts work, press F12 and click the "Console" tab.
OSBrowserShortcut
Windows/LinuxChrome/EdgeCtrl + Shift + J
Windows/LinuxFirefoxCtrl + Shift + K
macOSChrome/Edge⌘ + Option + J
macOSFirefox⌘ + Option + K
macOSSafari⌘ + Option + C
+
🥱
- + diff --git a/style.css b/style.css index 7846b99..5a40219 100644 --- a/style.css +++ b/style.css @@ -7,14 +7,10 @@ body { margin-block: 0; margin-inline: 8px auto; display: grid; - place-items: center; -} - -.wrapper { - margin-block: 8px; } header { + align-self: end; display: flex; align-items: center; } @@ -23,6 +19,10 @@ h1 { margin: 0; } +main { + align-self: start; +} + p { font-size: 1.2rem; }