1 Commits
Author SHA1 Message Date
emil28092005 1232ac13ac try to do card zoom 2024-09-19 23:31:44 +03:00
7 changed files with 36 additions and 4 deletions
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
y="0px" viewBox="0 0 32 32" xml:space="preserve">
<g id="Layer_2" style="display:none;">
</g>
<g id="Layer_1">
<circle style="fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:10;" cx="16" cy="16" r="12"/>
<path style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;" d="M21.786,11
c-4.989-0.508-11.286,2.682-13.244,5.627c1.169,1.409,3.046,1.476,5.819,1.014c0.762,2.633,3.469,4.307,5.072,4.27
C21.27,20.308,22.521,13.439,21.786,11z"/>
<line style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;" x1="16.755" y1="15.434" x2="14.361" y2="17.641"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 914 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 949 B

+7
View File
@@ -0,0 +1,7 @@
let cards = document.querySelectorAll('.card');
let phrase = "ABOBA";
cards.addEventListener("click", function() {foo()})
function foo(){
document.querySelectorAll(".card__name").textContent = phrase;
}
+4 -3
View File
@@ -10,7 +10,7 @@
<header class="header"> <header class="header">
<h1 class="header__name">Станция Сосновая</h1> <h1 class="header__name">Станция Сосновая</h1>
<h2 class="header__description">База отдыха</h2> <h2 class="header__description">База отдыха</h2>
<img class="header__image" <img class="header__image header__image--framed"
src="https://30.img.avito.st/image/1/1.4vLJ5La5Thv_TYwegeO6z61GTB13RcwTv0BMGXtRShk.Ewsg9tM6z2ZxLmivd2hH2Jdo76UKxxlT4qzIINkq8co" src="https://30.img.avito.st/image/1/1.4vLJ5La5Thv_TYwegeO6z61GTB13RcwTv0BMGXtRShk.Ewsg9tM6z2ZxLmivd2hH2Jdo76UKxxlT4qzIINkq8co"
alt="заглавное фото участка"> alt="заглавное фото участка">
</header> </header>
@@ -46,7 +46,7 @@
</div> </div>
</section> </section>
<footer class="footer"> <footer class="footer footer--framed">
<h3>Контактная информация <br> <h3>Контактная информация <br>
телефон: +77777777777 <br> телефон: +77777777777 <br>
<img src="Images/Icons/icons8-telegram.svg" <img src="Images/Icons/icons8-telegram.svg"
@@ -55,6 +55,7 @@
alt="телеграм" width="26" height="26"> https//whatsapp/smth alt="телеграм" width="26" height="26"> https//whatsapp/smth
</h3> </h3>
</footer> </footer>
<script src="https://code.s3.yandex.net/web-code/smoothly.js"></script>
<script src="immersivity.js"></script>
</body> </body>
</html> </html>
View File
View File
+10 -1
View File
@@ -85,11 +85,20 @@ p {
.footer { .footer {
background-color: saddlebrown; background-color: saddlebrown;
text-align: center; text-align: center;
height: 22vh; height: 25vh;
width: 100%; width: 100%;
} }
.header__image--framed{
border: solid 5px #2a1508;
box-shadow: 10px 10px 20px #2a1508;
}
.card--framed{ .card--framed{
border: solid 5px #2a1508; border: solid 5px #2a1508;
box-shadow: 10px 10px 20px #2a1508; box-shadow: 10px 10px 20px #2a1508;
} }
.footer--framed{
border: solid 5px #2a1508;
box-shadow: 10px 10px 20px #2a1508;
}