Skip to content

Commit

Permalink
зщ
Browse files Browse the repository at this point in the history
  • Loading branch information
eldarsarkynov committed May 1, 2024
1 parent 364149a commit 38f593f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ <h1 class="promo__title">Функциональное<br> питание для
<header class="promo__header">
<h2 class="visually-hidden">Реклама подбора программы питания</h2>
<p class="promo__slogan">Занялся собой? Займись котом!</p>
<picture>
<!-- <picture>
<source media="(min-width: 1200px)" width="720" height="694" type="image/png" srcset="images/index-background-desktop@1x.png, images/index-background-desktop@2x.png 2x">
<img class="promo__background" src="images/index-background-mobile@1x.png" width="320" height="302" srcset="images/index-background-mobile@2x.png 2x" alt="Задний фон на зеленом цвете, кот облизывающий свои усы">
</picture>
</picture> -->
<picture>
<source media="(min-width: 1200px)" width="552" height="499" type="image/jpeg" srcset="images/index-can-deskstop@1x.png, images/index-can-deskstop@2x.png 2x">
<source media="(min-width: 768px)" width="709" height="609" type="image/jpeg" srcset="images/index-can-tablet@1x.png, images/index-can-tablet@2x.png 2x">
Expand Down
4 changes: 3 additions & 1 deletion source/styles/blocks/promo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
}

.promo__block {
background-color: #68b738d9;
background-image: url("../../images/index-background-desktop@1x.png"), linear-gradient(to left, #ffffff 50%, #63a65c 50%, #63a65c 100%);
background-repeat: no-repeat;
background-size: contain;
}

.promo__title {
Expand Down

0 comments on commit 38f593f

Please sign in to comment.