An experiment to show how designing for The Fold can be treacherous. Each line is from a random sampling of past-visitors’ viewport heights. Take care when making assumptions about people’s screen sizes on the web. Do note that it only shows “a randomised subset of the full data”. I am the fold → Related: Life …
Author Archives: Bramus!
WebTrak
WiFi Taser
CSS object-fit
img { width: 150px; height: 100px; border: 1px solid #000; } .fill { object-fit: fill; } .contain { object-fit: contain; } .cover { object-fit: cover; } .none { object-fit: none; } .scale-down { object-fit: scale-down; } The object-fit CSS property specifies how the contents of a replaced element should be fitted to the box established …
Meet Spot
Password Policy
Amazon WorkMail
PHP Scalar Type Hints
At this moment a vote on the PHP RFC “Scalar Type Hints” is going on. It would allow stuff like this: <?php class ElePHPant { public $name, $age, $cuteness, $evil; public function __construct(string $name, int $age, float $cuteness, bool $evil) { $this->name = $name; $this->age = $age; $this->cuteness = $cuteness; $this->evil = $evil; } } …