.block {
width: 500px;
height: 500px;
margin: auto;
border: solid 1px red;
}
.separator {
width: 10000px;
border: solid 2px blue;
margin: 100px 0;
margin-left: -9500px;
}
<div class="block">
Текст
<div class="separator"></div>
</div>
.btn {
display: inline-block;
padding: 6px 12px;
margin-bottom: 0;
font-size: 14px;
font-weight: normal;
line-height: 1.42857143;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-ms-touch-action: manipulation;
touch-action: manipulation;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
}
$date = new DateTime('NOW');
$formatter = new IntlDateFormatter('ru_RU', IntlDateFormatter::FULL, IntlDateFormatter::FULL);
$formatter->setPattern ('d MMMM Y, k:mm:ss');
echo $formatter->format ($date);
$this->enableCsrfValidation = false;
<input type="hidden" value="<?=Yii::$app->request->getCsrfToken()?>" />