<?xml version="1.0" encoding="utf-8" ?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:tt="http://teletype.in/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"><title>Alena Spirina</title><author><name>Alena Spirina</name></author><id>https://teletype.in/atom/alenaspirina</id><link rel="self" type="application/atom+xml" href="https://teletype.in/atom/alenaspirina?offset=0"></link><link rel="alternate" type="text/html" href="https://teletype.in/@alenaspirina?utm_source=teletype&amp;utm_medium=feed_atom&amp;utm_campaign=alenaspirina"></link><link rel="next" type="application/rss+xml" href="https://teletype.in/atom/alenaspirina?offset=10"></link><link rel="search" type="application/opensearchdescription+xml" title="Teletype" href="https://teletype.in/opensearch.xml"></link><updated>2026-06-26T23:40:13.332Z</updated><entry><id>alenaspirina:I4uh-e_Oxdb</id><link rel="alternate" type="text/html" href="https://teletype.in/@alenaspirina/I4uh-e_Oxdb?utm_source=teletype&amp;utm_medium=feed_atom&amp;utm_campaign=alenaspirina"></link><title>Tilda Design Battle 4.0</title><published>2024-11-12T12:07:43.372Z</published><updated>2024-11-12T16:22:24.997Z</updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img2.teletype.in/files/59/39/593920a5-2635-42b1-a362-c12c83f0ee83.png"></media:thumbnail><summary type="html">&lt;img src=&quot;https://img3.teletype.in/files/2f/38/2f38fe12-13ff-494d-99c9-e41f0501dd82.png&quot;&gt;Разбор проекта, получившего 5 место в Tilda Design Battle.</summary><content type="html">
  &lt;p id=&quot;b1R9&quot;&gt;Разбор проекта, получившего 5 место в &lt;a href=&quot;https://blog.tilda.cc/designbattle4&quot; target=&quot;_blank&quot;&gt;Tilda Design Battle.&lt;/a&gt;&lt;/p&gt;
  &lt;section style=&quot;background-color:hsl(hsl(236, 74%, var(--autocolor-background-lightness, 95%)), 85%, 85%);&quot;&gt;
    &lt;p id=&quot;f62h&quot;&gt;&lt;a href=&quot;http://tour-to-mauritius.tilda.ws&quot; target=&quot;_blank&quot;&gt;Ссылка: tour-to-mauritius.tilda.ws&lt;/a&gt;&lt;/p&gt;
  &lt;/section&gt;
  &lt;p id=&quot;lD11&quot;&gt;&lt;/p&gt;
  &lt;p id=&quot;s6I3&quot;&gt;&lt;strong&gt;Дизайн. &lt;/strong&gt;&lt;/p&gt;
  &lt;p id=&quot;6FkO&quot;&gt;Больше всего времени ушло на поиск контента. Искренне завидую тем, кто освоил нейросети))&lt;br /&gt;&lt;br /&gt;Шрифты: PP Neue Montreal и Nyght Serif&lt;/p&gt;
  &lt;p id=&quot;vjoA&quot;&gt;Оставлю ссылку на Фигму: &lt;a href=&quot;https://www.figma.com/design/qvyd2GwssB7Xx1wFT5EfLb/Tilda-Battle-%2F-Spirina?node-id=0-1&amp;t=3URi6wvwI7ClfvrW-1&quot; target=&quot;_blank&quot;&gt;https://www.figma.com/design/qvyd2GwssB7Xx1wFT5EfLb/Tilda-Battle-%2F-Spirina?node-id=0-1&amp;amp;t=3URi6wvwI7ClfvrW-1&lt;/a&gt;&lt;/p&gt;
  &lt;figure id=&quot;X7XM&quot; class=&quot;m_original&quot;&gt;
    &lt;img src=&quot;https://img3.teletype.in/files/6f/b1/6fb18f6e-b545-4ddd-aba5-341cd2994057.png&quot; width=&quot;2210&quot; /&gt;
  &lt;/figure&gt;
  &lt;p id=&quot;9XXe&quot;&gt;&lt;/p&gt;
  &lt;p id=&quot;dFfr&quot;&gt;&lt;strong&gt;Верстка.&lt;/strong&gt;&lt;/p&gt;
  &lt;p id=&quot;QMcA&quot;&gt;Верстала на двух брейкпоинтах: 320 и 960, включив Автоскейл.&lt;/p&gt;
  &lt;figure id=&quot;NnKE&quot; class=&quot;m_column&quot;&gt;
    &lt;img src=&quot;https://img3.teletype.in/files/e4/52/e4523cbe-4c37-4a4c-9b2a-36dbbbec71df.png&quot; width=&quot;1546&quot; /&gt;
  &lt;/figure&gt;
  &lt;p id=&quot;iLnS&quot;&gt;&lt;strong&gt;Коды.&lt;/strong&gt;&lt;/p&gt;
  &lt;p id=&quot;sVgf&quot;&gt;&lt;strong&gt;Бесплатные:&lt;/strong&gt;&lt;/p&gt;
  &lt;ol id=&quot;mple&quot;&gt;
    &lt;li id=&quot;fwDs&quot;&gt;Прелоадер: &lt;a href=&quot;https://mod.tistols.com/preloader-flash&quot; target=&quot;_blank&quot;&gt;https://mod.tistols.com/preloader-flash&lt;/a&gt;&lt;/li&gt;
    &lt;li id=&quot;avBQ&quot;&gt;Закругление уголков первого блока при скролле: &lt;a href=&quot;https://mod.tistols.com/photo-rounding&quot; target=&quot;_blank&quot;&gt;https://mod.tistols.com/photo-rounding&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Видоизменила по-своему, делюсь своей версией кода:&lt;/li&gt;
    &lt;ol id=&quot;Bmx4&quot;&gt;&lt;/ol&gt;
  &lt;/ol&gt;
  &lt;pre id=&quot;nMDW&quot;&gt;&amp;lt;style&amp;gt; .tistols-bbord .tn-atom { transition: border-radius 0.9s ease; /* Плавный переход для border-radius */ } &amp;lt;/style&amp;gt; &amp;lt;script&amp;gt; $(document).ready(function() { // Устанавливаем начальный радиус углов на 0px $(&amp;#x27;.tistols-bbord .tn-atom&amp;#x27;).css(&amp;#x27;border-radius&amp;#x27;, &amp;#x27;0&amp;#x27;); // Добавляем обработчик события прокрутки с использованием jQuery $(window).scroll(function() { // Получаем высоту окна var windowHeight = $(window).height(); // Получаем центр окна var scrolledPixels = $(window).scrollTop(); var windowCenter = scrolledPixels + (windowHeight / 2); // Получаем верхнюю границу элемента var elementTop = $(&amp;#x27;.tistols-bbord .tn-atom&amp;#x27;).offset().top; // Получаем высоту элемента var elementHeight = $(&amp;#x27;.tistols-bbord .tn-atom&amp;#x27;).outerHeight(); // Проверяем, достиг ли центр окна верхней границы элемента if (windowCenter &amp;gt;= elementTop &amp;amp;&amp;amp; windowCenter &amp;lt;= (elementTop + elementHeight)) { // Устанавливаем радиус углов на 40px $(&amp;#x27;.tistols-bbord .tn-atom&amp;#x27;).css(&amp;#x27;border-radius&amp;#x27;, &amp;#x27;0px&amp;#x27;); } else { // Если центр окна не находится в пределах элемента, сбрасываем скругление $(&amp;#x27;.tistols-bbord .tn-atom&amp;#x27;).css(&amp;#x27;border-radius&amp;#x27;, &amp;#x27;40px&amp;#x27;); } }); }); &amp;lt;/script&amp;gt;&lt;/pre&gt;
  &lt;p id=&quot;4Qud&quot;&gt;&lt;br /&gt;3. Кнопки со стрелкой: &lt;a href=&quot;https://mt-webdesign.ru/btn-arrow&quot; target=&quot;_blank&quot;&gt;https://mt-webdesign.ru/btn-arrow&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Мой код:&lt;/p&gt;
  &lt;pre id=&quot;CyeN&quot; data-lang=&quot;css&quot;&gt;&amp;lt;!--Кнопки со стрелкой https://mt-webdesign.ru/btn-arrow--&amp;gt; &amp;lt;!--Зумирование стрелки--&amp;gt; &amp;lt;style&amp;gt; /*Настройки кнопки*/ :root { --ZoomColor: #E7FE89; /*цвет круга*/ --TextColorZoomHover: #343434; /*цвет текста по наведению*/ --ImgZoom: url(https://static.tildacdn.com/tild6434-6637-4362-b763-373735626631/Frame_6757785.png), url(https://static.tildacdn.com/tild6434-6637-4362-b763-373735626631/Frame_6757785.png); /*изображение стрелки*/ } .arrow-zoom .tn-atom { overflow: hidden !important; position: relative; transition-delay: 0.7s !important; transition: color 0.2s ease-in-out, background 0s ease-in-out, border-color 1.2s ease-in-out !important; } .arrow-zoom .tn-atom:after { content: &amp;#x27;&amp;#x27;; position: absolute; display: inline-block; width: 34px; height: 34px; align-items: center; right: 3px; border-radius: 1000px; background-color: var(--ZoomColor); background-size: cover; top: 50%; transform: translateY(-50%); transition: all 0.7s cubic-bezier(0.84, -0.01, 0.25, 0.99); } .arrow-zoom .tn-atom:before { content: &amp;quot;&amp;quot;; display: inline-block; height: 10px; width: 10px; background-image: var(--ImgZoom); background-position: -12px 0x, 0px 0px !important; background-repeat: no-repeat; background-size: contain; vertical-align: middle; opacity: 1; transition: opacity 0.5s cubic-bezier(0.84, -0.01, 0.25, 0.99); right: 15px; top: 50%; transform: translateY(-50%); transition: all 0.7s cubic-bezier(0.84, -0.01, 0.25, 0.99); position: absolute; z-index: 9; } @keyframes buttonArrow-2 { 0% { background-position: -12px 0px, 0px 0px; } 100% { background-position: 0px 0px, 12px 0; } } .arrow-zoom:hover .tn-atom:before { animation-name: buttonArrow-2; animation-duration: 0.7s; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(0.84, -0.01, 0.25, 0.99); opacity: 1; } .arrow-zoom:hover .tn-atom:after { width: 100%; height: 100%; right:0; transition: all 0.7s cubic-bezier(0.84, -0.01, 0.25, 0.99); } .arrow-zoom .tn-atom { overflow: hidden; } .arrow-zoom div { display: inline-block; z-index: 1; right: 10px; position: relative; transition: color 0.5s cubic-bezier(0.84, -0.01, 0.25, 0.99); margin-right: 15px; } .arrow-zoom:hover div { color: var(--TextColorZoomHover); } .arrow-zoom:hover .tn-atom { background: #E7FE89 !important; transition: background 2.3s ease-in-out !important; } &amp;lt;/style&amp;gt; &amp;lt;script src=&amp;quot;https://code.jquery.com/jquery-3.6.0.min.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;script&amp;gt; $(&amp;#x27;.arrow-zoom-2&amp;#x27;).addClass(&amp;#x27;arrow-zoom&amp;#x27;); &amp;lt;/script&amp;gt; &amp;lt;script&amp;gt; var btnzoom = document.querySelectorAll(&amp;#x27;.arrow-zoom .tn-atom&amp;#x27;); btnzoom.forEach(function(btnzoom) { var divZoom = document.createElement(&amp;#x27;div&amp;#x27;); divZoom.textContent = btnzoom.textContent; btnzoom.innerHTML = &amp;#x27;&amp;#x27;; btnzoom.appendChild(divZoom); if (window.innerWidth &amp;gt; 768) { var fontSize = window.getComputedStyle(btnzoom).fontSize; divZoom.style.fontSize = fontSize; } }); &amp;lt;/script&amp;gt;&lt;/pre&gt;
  &lt;p id=&quot;c09j&quot;&gt;&lt;/p&gt;
  &lt;p id=&quot;4Y39&quot;&gt;&lt;strong&gt;Платные. &lt;/strong&gt;И есть несколько кодов из платной подписки, которыми по понятным причинам не смогу поделиться:&lt;/p&gt;
  &lt;ol id=&quot;ZCpb&quot;&gt;
    &lt;li id=&quot;2EDM&quot;&gt;Анимация появления заголовка на 1 экране: &lt;a href=&quot;https://mod.tistols.com/smooth-text&quot; target=&quot;_blank&quot;&gt;https://mod.tistols.com/smooth-text&lt;/a&gt;&lt;/li&gt;
    &lt;li id=&quot;3jeI&quot;&gt;Расширение видео при скролле: &lt;a href=&quot;https://mod.tistols.com/video-full&quot; target=&quot;_blank&quot;&gt;https://mod.tistols.com/video-full&lt;/a&gt; (тоже много модифицировала его, вместо видео у меня просто фотография)&lt;/li&gt;
  &lt;/ol&gt;
  &lt;p id=&quot;8m1T&quot;&gt;И чтобы на увеличенной фотографии появился текст, его добавила через Zero, с overflow:visible.&lt;/p&gt;
  &lt;figure id=&quot;lM2o&quot; class=&quot;m_column&quot;&gt;
    &lt;img src=&quot;https://img2.teletype.in/files/9f/6b/9f6bed9a-c23e-483a-a586-c9f185b27a4d.png&quot; width=&quot;1756&quot; /&gt;
  &lt;/figure&gt;
  &lt;p id=&quot;UHUf&quot;&gt;То есть расширяющееся изображение — это просто вставленный код. А под ним уже стоит зеро с текстами, вынесенными вверх, за пределы блока. У текста настроена анимация по скроллу. Триггер – 300px от центра. За дистанцию 200px он прозрачный, а затем, за 100px становится видимым.&lt;/p&gt;
  &lt;figure id=&quot;PBE1&quot; class=&quot;m_column&quot;&gt;
    &lt;img src=&quot;https://img3.teletype.in/files/aa/e2/aae229e1-3898-4580-880d-138c4190d686.jpeg&quot; width=&quot;1714&quot; /&gt;
  &lt;/figure&gt;
  &lt;p id=&quot;1tj5&quot;&gt;&lt;strong&gt;Анимации.&lt;/strong&gt;&lt;/p&gt;
  &lt;ol id=&quot;kcT8&quot;&gt;
    &lt;li id=&quot;amP1&quot;&gt;Горизонтальный скролл в блоке О туре&lt;/li&gt;
  &lt;/ol&gt;
  &lt;p id=&quot;K3A2&quot;&gt;а) объединяем все объекты в группу и меняем на Group — Object  &lt;/p&gt;
  &lt;figure id=&quot;zQk2&quot; class=&quot;m_column&quot;&gt;
    &lt;img src=&quot;https://img3.teletype.in/files/ee/27/ee276879-3213-431a-974a-26c8c55d0658.png&quot; width=&quot;2608&quot; /&gt;
  &lt;/figure&gt;
  &lt;p id=&quot;lFeE&quot;&gt;б) настраиваем анимацию по скроллу:&lt;br /&gt;- триггер Top (60px от верха оставим отступ)&lt;br /&gt;- 1 шаг: дистанция 650px, смещение по x на -916px и обязательно ставим Fixed.&lt;br /&gt;- 2 шаг: даем еще 100px постоять на месте, чтобы было время прочитать текст&lt;/p&gt;
  &lt;p id=&quot;RSHl&quot;&gt;в) и добавляем самому блоку + 750px высоты.&lt;/p&gt;
  &lt;figure id=&quot;NbVC&quot; class=&quot;m_column&quot;&gt;
    &lt;img src=&quot;https://img2.teletype.in/files/93/91/93913b0c-7b90-4049-b5c0-71f89ff324a5.png&quot; width=&quot;1580&quot; /&gt;
  &lt;/figure&gt;
  &lt;p id=&quot;fIpp&quot;&gt;2. Блок с фотографиями&lt;/p&gt;
  &lt;p id=&quot;vxZc&quot;&gt;Идея с &lt;a href=&quot;https://buddleskincare.com/?ref=land-book.com&quot; target=&quot;_blank&quot;&gt;рефа&lt;/a&gt;&lt;/p&gt;
  &lt;figure id=&quot;a5zj&quot; class=&quot;m_original&quot;&gt;
    &lt;img src=&quot;https://img2.teletype.in/files/50/19/5019b47b-71b2-437c-94d2-64e6ce7c1e7f.gif&quot; width=&quot;732&quot; /&gt;
  &lt;/figure&gt;
  &lt;p id=&quot;G941&quot;&gt;Я взяла 2 вырезанные svg (в фигме через Subtract), которые просто заезжают на фотографию снизу. Тем самым создается эффект &amp;quot;сжатия&amp;quot;.&lt;/p&gt;
  &lt;p id=&quot;6jdy&quot;&gt;А изображения по бокам объединены в группу, у которых настроена анимация по скроллу (изначально сдвинуты сбок и не видны, далее – выезжают и становятся 100% непрозрачности) &lt;/p&gt;
  &lt;p id=&quot;h9ud&quot;&gt;Еще анимация появления настроена у шейпа с затемнением и текста. &lt;/p&gt;
  &lt;figure id=&quot;3oL6&quot; class=&quot;m_original&quot;&gt;
    &lt;img src=&quot;https://img3.teletype.in/files/65/d9/65d931cc-1745-4860-8650-42eb069bb072.gif&quot; width=&quot;734&quot; /&gt;
  &lt;/figure&gt;
  &lt;figure id=&quot;OCfB&quot; class=&quot;m_original&quot;&gt;
    &lt;img src=&quot;https://img3.teletype.in/files/22/4e/224e1f0a-958f-44e1-80b7-cccff30f1f1d.gif&quot; width=&quot;736&quot; /&gt;
  &lt;/figure&gt;
  &lt;p id=&quot;xW8v&quot;&gt;&lt;br /&gt;&lt;br /&gt;И дублирую ссылку на проект: &lt;a href=&quot;http://tour-to-mauritius.tilda.ws&quot; target=&quot;_blank&quot;&gt;tour-to-mauritius.tilda.ws&lt;/a&gt;&lt;/p&gt;

</content></entry></feed>