Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a href="" title="ТЕКСТ"><div class="article9">
- <img src="/images/logo.png" alt="текст">
- <for>Какой-то текст</for>
- </div></a>
- function setNewYearBg() {
- var now = new Date(),
- month = now.getMonth(),
- day = now.getDate(),
- if( (month == 11 && day >= 25) || (month == 11 && day <= 28 ) ) {
- }
- else if( (month == 11 && day == 29 ) ) {
- document.body.classList.add('newyear_sunset');
- }
- }
- setNewYearBg();
- .article9 {
- url(www.google.ru);
- ...
- }
- .article9:hover {
- url(www.google.ru);
- ...
- }
- .article9 for {
- ...
- }
- .article9:hover for {
- ...
- }
- .article9>img {
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement