• 23-12-2025, 02:32:01
    #1
    Merhaba yılbaşı geliyor malum web sitesi için kastırmayan kar efekti kodu olan var mı paylaşırsa herkes yararlanabilir
  • 23-12-2025, 02:47:14
    #2
    Platin üye
    Buyurun.

    <style>
      /* Kar tanesi temel stili */
      .snowflake {
        position: fixed;
        top: -10px;
        z-index: 9999;
        color: #FFF; /* Kar rengi */
        font-size: 1em;
        font-family: Arial, sans-serif;
        text-shadow: 0 0 5px #000; /* Beyaz zeminde görünmesi için hafif gölge */
        user-select: none; /* Seçilemez yapar */
        pointer-events: none; /* Tıklamaları engellemez (ÖNEMLİ) */
        animation-name: fall-sway;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
      }
    
      /* Düşme ve sallanma animasyonu */
      @keyframes fall-sway {
        0% {
          transform: translateY(0) translateX(0);
        }
        25% {
          transform: translateY(25vh) translateX(15px);
        }
        50% {
          transform: translateY(50vh) translateX(-15px);
        }
        75% {
          transform: translateY(75vh) translateX(15px);
        }
        100% {
          transform: translateY(110vh) translateX(0);
        }
      }
    </style>
    
    <script>
      document.addEventListener("DOMContentLoaded", function() {
        // Ayarlar
        const snowSymbol = "❄"; // Kar tanesi sembolü (• veya * da kullanabilirsiniz)
        const snowCount = 50; // Aynı anda ekranda olacak maksimum kar tanesi (Performans için artırmayın)
        const creationInterval = 200; // Yeni kar tanesi oluşturma sıklığı (ms cinsinden)
    
        function createSnowflake() {
          const flake = document.createElement("div");
          flake.innerHTML = snowSymbol;
          flake.classList.add("snowflake");
    
          const startLeft = Math.random() * 100; // Başlangıç yatay konumu (% olarak)
          const duration = Math.random() * 5 + 5; // Düşme süresi (5 ile 10 saniye arası)
          const size = Math.random() * 10 + 10; // Boyut (10px ile 20px arası)
          const opacity = Math.random() * 0.5 + 0.3; // Şeffaflık
    
          flake.style.left = startLeft + "vw";
          flake.style.animationDuration = duration + "s";
          flake.style.fontSize = size + "px";
          flake.style.opacity = opacity;
    
          document.body.appendChild(flake);
          setTimeout(() => {
            flake.remove();
          }, duration * 1000);
        }
        setInterval(createSnowflake, creationInterval);
      });
    </script>
  • 23-12-2025, 02:47:29
    #3
    R10'DA İLK | 81 İL SCRİPT
    Demo: tıklayın

    <style>
            body {
                background-color: #000;
                margin: 0;
                padding: 0;
                overflow-x: hidden;
            }
            .omurcn53-kar-sahnesi {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                pointer-events: none;
                z-index: 99999;
                overflow: hidden;
            }
            .omurcn53-kar-tanesi {
                position: absolute;
                top: -10px;
                background-color: #fff;
                border-radius: 50%;
                opacity: 0.8;
                box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
            }
            @keyframes omurcn53-yagis-animasyonu {
                0% {
                    transform: translateY(-10vh) translateX(0);
                    opacity: 0;
                }
                10% {
                    opacity: 1;
                }
                100% {
                    transform: translateY(110vh) translateX(20px);
                    opacity: 0.3;
                }
            }
            @keyframes omurcn53-sallanma {
                0%, 100% {
                    margin-left: 0;
                }
                50% {
                    margin-left: 15px;
                }
            }
        </style>
    <div id="omurcn53-kar-sahnesi" class="omurcn53-kar-sahnesi"></div>
    <script>
            document.addEventListener('DOMContentLoaded', () => {
                const sahne = document.getElementById('omurcn53-kar-sahnesi');
                const karTanesiSayisi = 50; 
                for (let i = 0; i < karTanesiSayisi; i++) {
                    createSnowflake(sahne);
                }
                function createSnowflake(container) {
                    const flake = document.createElement('div');
                    flake.classList.add('omurcn53-kar-tanesi');
                    const size = Math.random() * 4 + 2; 
                    flake.style.width = `${size}px`;
                    flake.style.height = `${size}px`;
                    flake.style.left = `${Math.random() * 100}%`;
                    const duration = Math.random() * 10 + 5;
                    flake.style.animation = `
                        omurcn53-yagis-animasyonu ${duration}s linear infinite,
                        omurcn53-sallanma ${Math.random() * 4 + 2}s ease-in-out infinite alternate
                    `;
                    flake.style.animationDelay = `-${Math.random() * 10}s`;
                    flake.style.opacity = Math.random() * 0.5 + 0.3;
                    if (Math.random() > 0.5) {
                        flake.style.filter = `blur(${Math.random()}px)`;
                    }
                    container.appendChild(flake);
                }
            });
        </script>
  • 23-12-2025, 02:59:31
    #4
    Omurcn53 adlı üyeden alıntı: mesajı görüntüle
    Demo: tıklayın

    <style>
            body {
                background-color: #000;
                margin: 0;
                padding: 0;
                overflow-x: hidden;
            }
            .omurcn53-kar-sahnesi {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                pointer-events: none;
                z-index: 99999;
                overflow: hidden;
            }
            .omurcn53-kar-tanesi {
                position: absolute;
                top: -10px;
                background-color: #fff;
                border-radius: 50%;
                opacity: 0.8;
                box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
            }
            @keyframes omurcn53-yagis-animasyonu {
                0% {
                    transform: translateY(-10vh) translateX(0);
                    opacity: 0;
                }
                10% {
                    opacity: 1;
                }
                100% {
                    transform: translateY(110vh) translateX(20px);
                    opacity: 0.3;
                }
            }
            @keyframes omurcn53-sallanma {
                0%, 100% {
                    margin-left: 0;
                }
                50% {
                    margin-left: 15px;
                }
            }
        </style>
    <div id="omurcn53-kar-sahnesi" class="omurcn53-kar-sahnesi"></div>
    <script>
            document.addEventListener('DOMContentLoaded', () => {
                const sahne = document.getElementById('omurcn53-kar-sahnesi');
                const karTanesiSayisi = 50;
                for (let i = 0; i < karTanesiSayisi; i++) {
                    createSnowflake(sahne);
                }
                function createSnowflake(container) {
                    const flake = document.createElement('div');
                    flake.classList.add('omurcn53-kar-tanesi');
                    const size = Math.random() * 4 + 2;
                    flake.style.width = `${size}px`;
                    flake.style.height = `${size}px`;
                    flake.style.left = `${Math.random() * 100}%`;
                    const duration = Math.random() * 10 + 5;
                    flake.style.animation = `
                        omurcn53-yagis-animasyonu ${duration}s linear infinite,
                        omurcn53-sallanma ${Math.random() * 4 + 2}s ease-in-out infinite alternate
                    `;
                    flake.style.animationDelay = `-${Math.random() * 10}s`;
                    flake.style.opacity = Math.random() * 0.5 + 0.3;
                    if (Math.random() > 0.5) {
                        flake.style.filter = `blur(${Math.random()}px)`;
                    }
                    container.appendChild(flake);
                }
            });
        </script>
    tşk hocam