tutsocean Try it yourself editor - v2
Toggle navigation
TUTSOCEAN
Donate Snippet
Ana Sayfa
(current)
Admin
Geri bildirim
Yardım
Ayarlar
Çıkış yap
Result
HTML
CSS
JS
A template with a bit of a different
look & feel
.
Particles is a fun and multipurpose template, with clean & modern design
+
 code.
body{margin-top:20px;} /* =Jumbotron Main -------------------------------------------------------------- */ .jumbotron.jumbotron-main { height: 100%; width: 100%; font-family: 'Roboto', sans-serif; color: #fff; padding-top: 0; padding-bottom: 0; position: relative; margin:0; } #particles-js { position: absolute; width: 100%; height: 100%; background-image: url(""); background-repeat: no-repeat; background-size: cover; background-position: 50% 50%; background: #6819e8; /* Old browsers */ background: -moz-linear-gradient(left, #6819e8 0%, #7437d0 35%, #615fde 68%, #6980f2 100%); /* FF3.6-15 */ background: -webkit-linear-gradient(left, #6819e8 0%,#7437d0 35%,#615fde 68%,#6980f2 100%); /* Chrome10-25,Safari5.1-6 */ background: linear-gradient(to right, #6819e8 0%,#7437d0 35%,#615fde 68%,#6980f2 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6819e8', endColorstr='#6980f2',GradientType=1 ); /* IE6-9 */ } .jumbotron.jumbotron-main hr { border-width: 1px 0px; border-style: dotted none; border-color: rgba(255, 255, 255, 0.35); -moz-border-top-colors: none; -moz-border-right-colors: none; -moz-border-bottom-colors: none; -moz-border-left-colors: none; border-image: none; width: 49px; height: 4px; text-align: center; position: relative; clear: both; } .jumbotron.jumbotron-main a { color: #fff; } .center-vertically { display: table-cell; vertical-align: middle; height: 100%; } .center-vertically-holder { display: table; height: 100%; } .scroll-indicator { padding-top:6px; display: inline-block; width: 50px; } .arrow-scroll-indicator { font-size: 10px; color: rgba(255, 255, 255, 0.60); } .parallax-window { background: transparent; }
particlesJS("particles-js", { "particles": { "number": { "value": 80, "density": { "enable": true, "value_area": 800 } }, "color": { "value": "#ffffff" }, "shape": { "type": "circle", "stroke": { "width": 0, "color": "#000000" }, "polygon": { "nb_sides": 5 }, "image": { "src": "img/github.svg", "width": 100, "height": 100 } }, "opacity": { "value": 0.5, "random": false, "anim": { "enable": false, "speed": 1, "opacity_min": 0.1, "sync": false } }, "size": { "value": 3, "random": true, "anim": { "enable": false, "speed": 40, "size_min": 0.1, "sync": false } }, "line_linked": { "enable": true, "distance": 150, "color": "#ffffff", "opacity": 0.4, "width": 1 }, "move": { "enable": true, "speed": 6, "direction": "none", "random": false, "straight": false, "out_mode": "out", "bounce": false, "attract": { "enable": false, "rotateX": 600, "rotateY": 1200 } } }, "interactivity": { "detect_on": "canvas", "events": { "onhover": { "enable": true, "mode": "grab" }, "onclick": { "enable": true, "mode": "push" }, "resize": true }, "modes": { "grab": { "distance": 140, "line_linked": { "opacity": 1 } }, "bubble": { "distance": 400, "size": 40, "duration": 2, "opacity": 8, "speed": 3 }, "repulse": { "distance": 200, "duration": 0.4 }, "push": { "particles_nb": 4 }, "remove": { "particles_nb": 2 } } }, "retina_detect": true });
'; preview.open(); preview.write(final_val); preview.close(); $('#preview').show(); } //}); jQuery(document).ready(function(){ // jQuery('body').css('overflow','hidden'); updatePreview(); });