From be5164c93f39e4806209b8156c618136f1e9f5cc Mon Sep 17 00:00:00 2001 From: Peter Kolosov <101456132+Peter-developer01@users.noreply.github.com> Date: Mon, 27 Nov 2023 14:32:10 +0300 Subject: [PATCH] add some styles to hr --- css/style.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/css/style.css b/css/style.css index bd2e9da..f51ebc9 100644 --- a/css/style.css +++ b/css/style.css @@ -83,4 +83,17 @@ figcaption { .avatars { list-style-type: none; -} \ No newline at end of file +} + +hr { + border: 0; + height: 1px; + background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); + /* transition: all 0.3s ease-in-out; */ + /* opacity: 0.6; */ +} + +/* uncomment this and two lines above if you wanna have an animation but I think it's not needed */ +/* hr:hover { + opacity: 1; +} */ \ No newline at end of file