diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-08-17 11:15:53 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-08-17 11:15:53 +0530 |
commit | fc248155864bb83177606b468c7e8eb8344eeba7 (patch) | |
tree | f7b0ab71afc1e314e2b8f7539e4d99424e3a242d /Lab02/style.css | |
parent | defb19e922bb09e52c495a9393f35479d48b1203 (diff) |
Lab02: Create College Events website make use of HTML Tables
Diffstat (limited to 'Lab02/style.css')
-rw-r--r-- | Lab02/style.css | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Lab02/style.css b/Lab02/style.css new file mode 100644 index 0000000..21946af --- /dev/null +++ b/Lab02/style.css @@ -0,0 +1,52 @@ +html { + font-family: sans-serif; + text-align: center; + background-color: whitesmoke; + } + +h1 { + text-decoration: underline; +} + +table{ + border-collapse: collapse; + letter-spacing: 1px; + font-size: 0.8rem; + margin-left: auto; + margin-right: auto; +} + +#table1{ + border: 2px solid rgb(255, 0, 0); +} +#table2{ + border: 2px solid rgb(16, 245, 16); +} +thead{ + font-size: 15px; +} +tbody{ + font-style: normal; +} +tfoot{ + border-top: 2px solid rgb(0, 0, 0); +} + +td, th { + border: 1px solid rgb(190,190,190); + padding: 10px 20px; +} + +th { + background-color: rgb(235,235,235); +} + +td { + text-align: center; + background-color: white; +} + +caption { + font-size: 15px; + padding: 10px; +}
\ No newline at end of file |