DLE ticker (marquee) - mywap.az https://mywap.az/ RSS - mywap.az https://mywap.az/assets/img/images/logo.png RSS - mywap.az https://mywap.az/ admin@localhost (admin) admin@localhost (admin) Sat, 25 Apr 2026 16:58:58 +0300 ✔ CSS-only (smooth, performanslı)<br> ✔ Responsive<br> ✔ Hover pause<br> ✔ Fade effect (premium görünüş)<br> ✔ “SON DƏQİQƏ” badge<br> ✔ DLE {custom} ilə dinamik<br> <br> 🔧 1. HTML ( header.tpl və ya main.tpl )<br> <br> <pre class="prettyprint">&lt;div class=&quot;news-ticker&quot;&gt; &lt;div class=&quot;ticker-label&quot;&gt; &lt;span&gt;SON DƏQİQƏ&lt;/span&gt; &lt;/div&gt; &lt;div class=&quot;ticker-track&quot;&gt; &lt;div class=&quot;ticker-content&quot;&gt; {custom order=&quot;date&quot; limit=&quot;10&quot; template=&quot;ticker&quot;} &lt;/div&gt; &lt;div class=&quot;ticker-content&quot;&gt; {custom order=&quot;date&quot; limit=&quot;10&quot; template=&quot;ticker&quot;} &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;</pre> <br> 👉 2 dəfə yazmağımızın səbəbi: loop effekti (kəsilmədən axır)<br> <br> 🔧 2. ticker.tpl (yarat)<br> /templates/senin_template/ticker.tpl<br> <br> <pre class="prettyprint">&lt;a href=&quot;{full-link}&quot; class=&quot;ticker-item&quot;&gt; 📰 {title} &lt;/a&gt;</pre> <br> 🎨 3. CSS (FULL MODERN)<br> <br> <pre class="prettyprint">.news-ticker { position&#58; relative; display&#58; flex; align-items&#58; center; height&#58; 44px; background&#58; #0f172a; overflow&#58; hidden; font-family&#58; &#039;Inter&#039;, sans-serif; } /* LABEL */ .ticker-label { background&#58; linear-gradient(135deg, <a href="https://mywap.az/search?query=ff0033">#ff0033</a>, <a href="https://mywap.az/search?query=cc0029">#cc0029</a>); color&#58; <a href="https://mywap.az/search?query=fff">#fff</a>; font-weight&#58; 600; font-size&#58; 13px; padding&#58; 0 16px; height&#58; 100%; display&#58; flex; align-items&#58; center; z-index&#58; 3; white-space&#58; nowrap; } /* TRACK */ .ticker-track { display&#58; flex; flex&#58; 1; overflow&#58; hidden; position&#58; relative; } /* CONTENT LOOP */ .ticker-content { display&#58; flex; align-items&#58; center; white-space&#58; nowrap; animation&#58; ticker-scroll 25s linear infinite; } /* ITEM */ .ticker-item { color&#58; <a href="https://mywap.az/search?query=e2e8f0">#e2e8f0</a>; margin&#58; 0 30px; font-size&#58; 14px; text-decoration&#58; none; transition&#58; all 0.25s ease; } .ticker-item&#58;hover { color&#58; #38bdf8; } /* PAUSE ON HOVER */ .news-ticker&#58;hover .ticker-content { animation-play-state&#58; paused; } /* SMOOTH LOOP */ &#64;keyframes ticker-scroll { 0% { transform&#58; translateX(0%); } 100% { transform&#58; translateX(-100%); } } /* FADE EDGES (PREMIUM LOOK) */ .news-ticker&#58;&#58;before, .news-ticker&#58;&#58;after { content&#58; &quot;&quot;; position&#58; absolute; top&#58; 0; width&#58; 60px; height&#58; 100%; z-index&#58; 2; pointer-events&#58; none; } .news-ticker&#58;&#58;before { left&#58; 0; background&#58; linear-gradient(to right, #0f172a, transparent); } .news-ticker&#58;&#58;after { right&#58; 0; background&#58; linear-gradient(to left, #0f172a, transparent); } /* RESPONSIVE */ &#64;media (max-width&#58; 768px) { .ticker-item { font-size&#58; 13px; margin&#58; 0 20px; } .ticker-label { font-size&#58; 12px; padding&#58; 0 10px; } }</pre> <br> ⚡ 4. Nəticə<br> Bu koddan sonra səndə olacaq:<br> 🔥 Tam professional xəbər lenti<br> 🔄 Kəsilməyən smooth animasiya<br> 🖱 Hover pause<br> 🎨 Premium fade effect<br> 📱 Mobil uyğun https://mywap.az/topics/2?pid=2 DLE ticker (marquee) Kazimli Anar Fri, 24 Apr 2026 20:51:45 +0300 Сообщения https://mywap.az/topics/2?pid=2