From 58b680e8b0f597b89780b5969d827d02a83ea723 Mon Sep 17 00:00:00 2001 From: reiyua Date: Mon, 15 Jul 2024 01:19:07 +1000 Subject: [PATCH] Debugging with CSS --- contact.html | 25 ++++++++++++------------- style.css | 24 ++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 13 deletions(-) create mode 100644 style.css diff --git a/contact.html b/contact.html index 1fd0635..aea6869 100644 --- a/contact.html +++ b/contact.html @@ -1,25 +1,24 @@ - - - reiyua - - - - +

reiyua

diff --git a/style.css b/style.css new file mode 100644 index 0000000..f46bee6 --- /dev/null +++ b/style.css @@ -0,0 +1,24 @@ +ul { + list-style-type: none; + margin: 0; + padding: 0; + overflow: hidden; + background-color: #333; + } + + li { + float: left; + } + + li a { + display: block; + color: white; + text-align: center; + padding: 14px 16px; + text-decoration: none; + } + + /* Change the link color to #111 (black) on hover */ + li a:hover { + background-color: #111; + } \ No newline at end of file