Tag: #css
On that flickering blur in Chrome
2024-04-23
Resizable boxes in pure CSS!
The CSS
resize
property allows any element to be resized, not just <textarea>
! But there are some gotchas. 2020-09-22What are CSS percentages?
CSS percentages have varying meanings depending on the property. They can refer to the containing block’s width/height, the element’s own font size, or other specific measurements. 2019-12-29
What are CSS variables?
CSS variables, also called custom properties, allow defining and using dynamic values in CSS. They cascade and inherit like other CSS properties, with the
var()
function used to reference them. 2019-12-21Why can’t I set the font size of a visited link?
CSS visited link styles are limited for security reasons, as they could reveal a user’s browsing history. Color can be changed, but
getComputedStyle
will lie about it. 2019-03-08What is the
viewport
meta tag? How can I display my website on mobile? Mobile browsers magically scale pages to fit mobile screens. Setting
width=device-width
disables this, but it requires the website to be designed for small screens. 2017-04-04128 byte of CSS is enough
Limiting CSS to 128 bytes prevents bloat and distractions, allowing focus on content. 2016-11-15
Forging web security by escaping the browser viewport
2016-08-10
All content copyright James Fisher.