From 13b9cbf113c6a8515ba32be7a014c49e0db1759d Mon Sep 17 00:00:00 2001 From: Israr khan <91806129+khanisrar@users.noreply.github.com> Date: Wed, 28 Dec 2022 11:03:57 +0530 Subject: [PATCH] updated HTML5 essence to make better Accept only if you like it, otherwise there is no compulsion. --- index.html | 42 +++++++++++++++++++++++++++++------------- 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index 729601c..9576a65 100644 --- a/index.html +++ b/index.html @@ -21,21 +21,37 @@ border-collapse: collapse; width: 100%; } - - th, - td { - text-align: left; - padding: 8px; - } - tr:nth-child(even) { background-color: #f2f2f2; } th { - background-color: #4CAF50; + background-color: #666; color: white; + border: 1px solid #000; + padding: 10px; + text-align: center; + } + tbody { + background-color: #fff; + } + tbody a { + color: #fff; + text-decoration: none; + background: #333; + padding: 3px 10px; + border-radius: 5px; + transition: .3s; + } + tbody a:hover { + background: #666; + } + tbody td { + border: 1px solid #000; + padding: 15px; + text-align: center; } + @@ -85,10 +101,10 @@