Twinkling Background

Developer
Size
1,911 Kb
Views
4,048

How do I make an twinkling background?

What is a twinkling background? How do you make a twinkling background? This script and codes were developed by KimLaRocca on 29 November 2022, Tuesday.

Twinkling Background Previews

Twinkling Background - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Twinkling Background</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="section"> <div class="content"> <div class="twinkling"> <div> <p>darkness</p> </div> </div> </div>
</div>
</body>
</html>

Twinkling Background - Script Codes CSS Codes

body { margin: 0
}
#section .content { height: 1000px; width: 100%; background: #343740 url(http://100daysoffonts.com/images/stars.png) repeat top center; z-index: 0; color: snow; padding: 50px;
}
/* twinkling background design modified from Script Tutorials. See copyright below */
/* ==============================================================================================
This copyright notice must be kept untouched in the stylesheet at all times.
The original version of this stylesheet and the associated (x)html
is available at http://www.script-tutorials.com/night-sky-with-twinkling-stars/
Copyright (c) Script Tutorials. All rights reserved.
This stylesheet and the associated (x)html may be modified in any way to fit your requirements.
================================================================================================= */
@keyframes move-twink-back { from { background-position: 0 0; } to { background-position: -10000px 5000px; }
}
@-webkit-keyframes move-twink-back { from { background-position: 0 0; } to { background-position: -10000px 5000px; }
}
@-moz-keyframes move-twink-back { from { background-position: 0 0; } to { background-position: -10000px 5000px; }
}
@-ms-keyframes move-twink-back { from { background-position: 0 0; } to { background-position: -10000px 5000px; }
}
.twinkling { height: 1000px; background: transparent url(http://100daysoffonts.com/images/twinkling.png) repeat top center; z-index: 1; -moz-animation: move-twink-back 500s linear infinite; -ms-animation: move-twink-back 500s linear infinite; -o-animation: move-twink-back 500s linear infinite; -webkit-animation: move-twink-back 500s linear infinite; animation: move-twink-back 500s linear infinite;
}
Twinkling Background - Script Codes
Twinkling Background - Script Codes
Home Page Home
Developer KimLaRocca
Username kimlarocca
Uploaded November 29, 2022
Rating 3
Size 1,911 Kb
Views 4,048
Do you need developer help for Twinkling Background?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

KimLaRocca (kimlarocca) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!