From 9bbb2e48f7daa05be2de1b617d8ace519d062eb5 Mon Sep 17 00:00:00 2001 From: Gavyn Ezell <72951570+gavyn-ezell@users.noreply.github.com> Date: Tue, 8 Nov 2022 22:43:41 -0800 Subject: [PATCH] tags --- index.html | 6 +++--- static/ReviewCard.css | 23 ++++++++++++++++++++++- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index fac18f6..1ffd985 100644 --- a/index.html +++ b/index.html @@ -12,9 +12,9 @@ - - - + + + diff --git a/static/ReviewCard.css b/static/ReviewCard.css index 41f82ee..d4cb141 100644 --- a/static/ReviewCard.css +++ b/static/ReviewCard.css @@ -47,7 +47,28 @@ row-gap: 10px; width: 100%; } - + .tag { + background-color: grey; + border-radius: 7px; + color: white; + padding-right: 7px; + padding-left: 7px; + margin: 3px; +} + +.tag::before { + display: inline-block; + content: 'x'; + height: 15px; + width: 15px; + margin-right: 4px; + text-align: center; + color: white; + cursor: pointer; +} +.tag:hover::before{ + color: red; +} .danger { background-color: rgb(254, 171, 171); border-color: red;