From 7dc6cc774c8c3cd7e0fb25f87c2b90502b06d944 Mon Sep 17 00:00:00 2001 From: flamez Date: Thu, 13 Feb 2025 20:08:24 +0000 Subject: [PATCH] Update src/style.css --- src/style.css | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/src/style.css b/src/style.css index e69de29..a877a96 100644 --- a/src/style.css +++ b/src/style.css @@ -0,0 +1,35 @@ +/* Style the tab */ +.tab { + overflow: hidden; + border: 1px solid #ccc; + background-color: #f1f1f1; +} + +/* Style the buttons that are used to open the tab content */ +.tab button { + background-color: inherit; + float: left; + border: none; + outline: none; + cursor: pointer; + padding: 14px 16px; + transition: 0.3s; +} + +/* Change background color of buttons on hover */ +.tab button:hover { + background-color: #ddd; +} + +/* Create an active/current tablink class */ +.tab button.active { + background-color: #ccc; +} + +/* Style the tab content */ +.tabcontent { + display: none; + padding: 6px 12px; + border: 1px solid #ccc; + border-top: none; +} \ No newline at end of file