With Sass, I can use nested media queries:
.selector
@media (min-width: 100px)
@media (max-width: 200px)
color: white
And it combines all media queries with and
:
<? | |
class Util { | |
/** | |
* Join paths | |
* | |
* @param | |
* | |
* @return string | |
*/ | |
public static function PathJoin() { |
With Sass, I can use nested media queries:
.selector
@media (min-width: 100px)
@media (max-width: 200px)
color: white
And it combines all media queries with and
:
<html> | |
<body> | |
<input | |
type='checkbox' | |
id='nav-off-canvas' | |
class='offCanvas-model' | |
> | |
<div class='offCanvas-layer'> | |
<p>navigation</p> | |
<label |
{% include 'modules/pagination.twig' with { | |
currentFilters: { | |
foo: 'bar', | |
}, | |
currentPage: 43, | |
paginationPath: '/news', | |
showAlwaysFirstAndLast: true, | |
lastPage: 75, | |
urlType: 'slash', | |
} %} |
Настоящим обязываю разработчиков ДВИП придерживаться следующих положений:
.block__elem--mod
export default { | |
tClose: 'Закрыть', // Alt text on close button | |
tLoading: 'Загрузка…', // Text that is displayed during loading. Can contain %curr% and %total% keys | |
gallery: { | |
tPrev: 'Назад', // Alt text on left arrow | |
tNext: 'Далее', // Alt text on right arrow | |
tCounter: '%curr%/%total%' // Markup for "1 of 7" counter | |
}, | |
image: { | |
tError: 'Не получилось загрузить <a href="%url%">изображение</a>.' // Error message when image could not be loaded |
Test your website using Google PageSpeed Insights https://developers.google.com/speed/pagespeed/insights/
On the bottom, you’ll see a link to download an archive containing optimized images, JS and CSS resources. You have to get it and replace your website’s files using archive content.
But after you unpack this archive, you will have all files moved to new locations based on file type, like this:
{ | |
"alt-require": true, | |
"attr-lowercase": true, | |
"attr-no-duplication": true, | |
"attr-unsafe-chars": true, | |
"attr-value-double-quotes": false, | |
"attr-value-not-empty": false, | |
"csslint": false, | |
"doctype-first": true, | |
"doctype-html5": true, |