CSS
- 7 ответов
- 0 вопросов
5
Вклад в тег
/**
* @param string $role
*
* @return array
*/
public function findWithoutRole($role)
{
$qb = $this->_em->createQueryBuilder();
$qb->select('u')
->from($this->_entityName, 'u')
->where('u.roles NOT LIKE :roles')
->setParameter('roles', '%"' . $role . '"%');
return $qb->getQuery()->getResult();
}
.block_container{
display: flex;
flex-flow: row wrap;
}
/*
[][]
[ ]
[][]
[ ]
*/
.block-1, .block-2{ order: 1}
.banner-1{ order: 2}
.block-3, .block-4{ order: 3}
.banner-2{ order: 4}
/*...*/
/*
[][][]
[ ]
[][][]
[ ]
*/
@media (min-width: 768px){
.block-1, .block-2, .block-3{ order: 1}
.banner-1{ order: 2}
.block-4, .block-5, .block-6{ order: 3}
.banner-2{ order: 4}
/*...*/
}
/*...*/