html, body {
margin: 0;
padding: 0;
}
*, *:before, *:after {
box-sizing: border-box;
}
+ фишка с cover от предыдущего оратора.
.container {
-webkit-transition: all 500ms ease;
-moz-transition: all 500ms ease;
-ms-transition: all 500ms ease;
-o-transition: all 500ms ease;
transition: all 500ms ease;
}
div {
background-image: url(01.png), url(z.jpg);
background-size: 100% 100%, cover;
}
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
function author_per_page( $query ) {
if( is_author() && !is_admin() && $query->is_main_query() ) {
$query->set( 'posts_per_page', 5 );
}
add_action( 'pre_get_posts', 'author_per_page' );
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
в шапку.