From 2bd37422a99b9eeb1d3151373c0080e478f6c87a Mon Sep 17 00:00:00 2001 From: Szyszeekk Date: Thu, 22 Feb 2024 17:11:58 +0100 Subject: [PATCH] css --- css/styles.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/css/styles.css b/css/styles.css index 446375e..383310d 100644 --- a/css/styles.css +++ b/css/styles.css @@ -139,7 +139,16 @@ img { } .visually-hidden { - display: none; + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + border: 0; + padding: 0; + white-space: nowrap; + clip-path: inset(100%); + clip: rect(0 0 0 0); + overflow: hidden; } .advantages-list { @@ -148,7 +157,7 @@ img { } .advantages-list-item { - width: calc((100% - 72px) / 4); + flex-basis: calc((100% - 72px) / 4); } .advantages-head {