From e558c6d4399ffa8c8c543244fadd3c7288bae978 Mon Sep 17 00:00:00 2001 From: DmitriyB Date: Thu, 28 Jul 2022 13:08:00 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=BE=20=D0=B7=D0=B0=D1=82=D0=B5=D0=BC=D0=BD?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B8=D0=B7=D0=BE=D0=B1=D1=80=D0=B0?= =?UTF-8?q?=D0=B6=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BD=D0=B0=20=D1=84=D0=BE?= =?UTF-8?q?=D0=BD=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/mainPart/mainPart.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/mainPart/mainPart.css b/src/components/mainPart/mainPart.css index faab701..d4af311 100644 --- a/src/components/mainPart/mainPart.css +++ b/src/components/mainPart/mainPart.css @@ -19,8 +19,16 @@ height: 100%; /* background: url('backgroundImage.svg') 50% 50% no-repeat; */ background: url('backgroundImagePng.png') 50% 50% no-repeat; - /* background-size: 100% 100%; */ - background-size: cover; + background-color: #B196AF; + /* background-size: 100% 100%; */ +} + +.background-image::after { + content: ''; + position: absolute; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.2); } .main-part-header {