LunarLogic/auroral
소개
순수 CSS로 애니메이션 배경 그라데이션을 구현합니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalAuroral - Animated background gradients
Auroral is a collection of animated background gradients, that can be used almost anywhere. They are built with pure CSS. To learn how it works, read the article.
Demo
You can test all effects on the Auroral demo page.
#How to use
Include a container for a background inside a wanted element. It needs to have one of the auroral classes.
<section class="your-container"> <div class="auroral-northern"></div> </section>In the head of your html file, add auroral stylesheet. Of course, you can add minified version instead.
<head> <link rel="stylesheet" type="text/css" href="css/auroral.css"/> </head>Or:
<head> <link rel="stylesheet" type="text/css" href="css/auroral.min.css"/> </head>Make sure, that your container (the one in which you put the auroral container) has these rules in CSS:
.your-container { display: block; // if it is not a block element position: relative; overflow: hidden; }
Stars!
What is a night sky without the stars? Add them by appending an element with the auroral-stars class right after the auroral container:
<section class="your-container">
<div class="auroral-northern"></div>
<div class="auroral-stars"></div>
</section>
If you know how to use Sass you can play with the $star-number variable, to make sure there is a right amount of them! It sits in _stars.scss partial.
#Backgrounds
Currently available backgrounds (class names to be used in your container):
- auroral-northern (Northern Lights style),
- auroral-northern-intense (Intense Northern Lights),
- auroral-northern-dimmed (Delicate Northern Lights),
- auroral-northern-dusk (Delicate Northern Lights spin-off),
- auroral-northern-warm (Warm Northern Lights),
- auroral-agrabah (Inspired by the colors of the night sky in Aladdin :D).
License
The library is licensed under The MIT License (MIT).
Go to Lunar Logic website to learn more about us and our work.
관련 프로젝트 살펴보기
불러오는 중…