public static function getInstance()
{
return static::$instance ?: static::$instance = new static();
}
.desc {
position: relative;
}
.desc:hover:after {
left: 0; top: 0;
width: 100%; height: 100%;
position: absolute;
content: "";
background: red url('http://...');
opacity: 0.5;
}
var myResponse = '<form><input name="var" value="val"></form>';
var form = $('<div/>').html(myResponse);
$(form).find('form').serialize()
<?php
echo "Default TZ: ", date_default_timezone_get();
$r = new \ReflectionExtension('date');
echo $r->info();
.icon-before(@list...) {
.do(@index, @list) when (@index <= length(@list)) {
@name: extract(@list, @index);
.icon-@{name}:before {
content: replace(%("\%a", rgb(0, 232, @index)), "#00", '')
}
.do(@index + 1, @list);
}
.do(1, @list);
}
.icon-before(post, file, book, check, image, globe, data, a1, a2, a3, a4);