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 {