Узнай сколько мы заработали
в этом году
Жми на кнопку
Book design is the art of incorporating the content, style, format, design, and sequence of the various components of a book into a coherent whole. In the words of Jan Tschichold, "methods and rules upon which it is impossible to improve, have been developed over centuries. To produce perfect books, these rules have to be brought back to life and applied."
Front matter, or preliminaries, is the first section of a book, and is usually the smallest section in terms of the number of pages. Each page is counted, but no folio or page number is expressed, or printed, on either display pages or blank pages.
Book design is the art of incorporating the content, style, format, design, and sequence of the various components of a book into a coherent whole. In the words of Jan Tschichold, "methods and rules upon which it is impossible to improve, have been developed over centuries. To produce perfect books, these rules have to be brought back to life and applied."
Front matter, or preliminaries, is the first section of a book, and is usually the smallest section in terms of the number of pages. Each page is counted, but no folio or page number is expressed, or printed, on either display pages or blank pages.
Book design is the art of incorporating the content, style, format, design, and sequence of the various components of a book into a coherent whole. In the words of Jan Tschichold, "methods and rules upon which it is impossible to improve, have been developed over centuries. To produce perfect books, these rules have to be brought back to life and applied."
Front matter, or preliminaries, is the first section of a book, and is usually the smallest section in terms of the number of pages. Each page is counted, but no folio or page number is expressed, or printed, on either display pages or blank pages.
6000+
4900+
Посмотреть код
JavaScript
Анимация цифр
<script> 
    //Добавляем класс к первой цифре
    $(".tn-elem__1796056071470209944682").addClass("numberup");
    //Добавляем класс ко второй цифре
    $(".tn-elem__1796056071586656448244").addClass("numberup1");


	$(function () { 
		var target_block = $(".numberup"); // Ищем блок 
		var blockStatus = true;  
		$(window).scroll(function() { 
			var scrollEvent = ($(window).scrollTop() > ($(target_block).offset().top - $(window).height())); 
		
			if(scrollEvent && blockStatus) {  
				blockStatus = false; // Запрещаем повторное выполнение функции до следующей перезагрузки страницы. 
			    //Анимация цифры 1
				$({numberValue: 0}).animate({numberValue: 6000}, { 
					duration: 3000, // Скорость анимации, где 500 - 0.5 одной секунды, то есть 500 миллисекунд 
					easing: "swing", 
					step: function(val) {  
						$(".numberup").html(Math.ceil(val)+'+'); // Блок, где необходимо сделать анимацию 
					} 
				}); 
				//Анимация цифры 2
				$({numberValue: 0}).animate({numberValue: 4900}, { 
					duration: 3000, // Скорость анимации, где 500 - 0.5 одной секунды, то есть 500 миллисекунд 
					easing: "swing", 
					step: function(val) {  
						$(".numberup1").html(Math.ceil(val)+'+'); // Блок, где необходимо сделать анимацию 
					} 
				}); 
			} 
		}); 
	}); 
</script> 
CSS
Стили для разных разрешений
<style>
/*Редактируем размер цифр для разных разрешений*/    
.tn-elem__1796056071470209944682,
.tn-elem__1796056071586656448244 {
    font-family: 'Ubuntu',Arial,sans-serif;
    font-size: 150px !important;
    font-weight: 600;
    
}

@media screen and (max-width: 1200px) {
    .tn-elem__1796056071470209944682,
    .tn-elem__1796056071586656448244 {
        font-size: 140px !important;
    }
}

@media screen and (max-width: 640px) {
    .tn-elem__1796056071470209944682,
    .tn-elem__1796056071586656448244 {
        font-size: 120px !important;
    }
}

@media screen and (max-width: 480px) {
    .tn-elem__1796056071470209944682,
    .tn-elem__1796056071586656448244 {
        font-size: 100px !important;
    }
}
</style>
Made on
Tilda
Template id: 10561365