AI summaryThis article is a beginner's guide to CSS Shapes, teaching everything needed to start using them today. It covers the prerequisites, such as establishing a coordinate system and the conditions for elements to be eligible for shapes, before explaining the relevant properties, their values, and how each one affects the shape created. The article includes many visual explanations and examples throughout.
AI summaryThe article argues that CSS Regions are not a layout feature like Flexbox or Grids, but rather a fragmentation feature that controls how content flows across containers or pages, and defends their value despite Google's decision to remove them from Blink. It addresses two main criticisms—the need for non-semantic empty elements and the lack of built-in responsiveness—demonstrating how pseudo-elements can define regions without extra markup, and how combining Regions with future CSS features like Grids and the CSS Overflow Module could resolve both issues. Ultimately, the author contends that Regions matter because they complement other CSS specifications by altering content flow, and laments their removal as a loss for the web community.
AI summaryThe article explains how to animate CSS Shapes using CSS animations and transitions, noting that only shapes defined with shape functions (like polygon() and circle()) are animatable, and only when the initial and final shapes have the same number of points. It demonstrates examples such as rearranging polygon points and resizing circles, showing that transitions work by interpolating the coordinates of individual points. The author also highlights key considerations like content fitting within changing shapes, text becoming temporarily unreadable during animation, and general accessibility concerns.
AI summaryThe article explains that flowing text into multiple custom-shaped areas using only CSS Shapes makes content unreadable, because the browser fills each line across all defined flow areas, forcing the reader's eyes to jump between fragments. The author proposes combining CSS Shapes with CSS Regions: by defining each custom shape as a separate region with the shape-inside property, text fills one region completely before flowing into the next, greatly improving readability. The article walks through a magazine-layout demo implementing this technique and stresses that designers should prioritize accessibility and readability over creative layouts, noting current browser limitations such as shape-inside and CSS Regions being removed from Blink.
AI summaryThe article explains how to create textured text effects—such as creative fills or subtle blending with backgrounds—directly on the web instead of relying on graphics editors. It covers techniques using CSS, SVG, and HTML5 Canvas. These methods avoid the accessibility and selection problems that arise when images are used as replacements for text.
AI summaryThis article serves as an ultimate reference for making text responsive on websites, covering techniques applicable to both big headlines and body copy. It explores methods including accessibility considerations, media queries, viewport units, and more.
AI summaryThis article explores different approaches to creating overlays with CSS, noting that some methods work better than others and may come with gotchas such as performance implications. It also covers HTML5's native way of creating modals, which requires less hassle and less code.
AI summaryThe article introduces CSS Shapes, explaining how the shape-inside and shape-outside properties allow content to flow in and around non-rectangular shapes, unlike CSS transforms which don't affect content flow. It covers the basics of declaring shapes with functions like polygon(), circle(), ellipse(), and inset(), establishing a coordinate system via an element's fixed dimensions, and using the clip-path property to visually apply backgrounds to custom shapes since the element's box model remains rectangular. It also notes current browser limitations—such as shape-outside working only on floated, block-level elements—and includes practical layout examples like floating text around a polygonal shape.
AI summaryThis collaborative tutorial between Bennett Feely and the author demonstrates how to create animated navigation icons ('Navicon Transformicons') using CSS transforms and transitions. It walks through SCSS code for transforming a three-line hamburger menu icon into various shapes, including arrows, a minus sign, and X (close) icons, using techniques like pseudo-elements, transform origins, transition delays, and the box-shadow property.
In this article, we will learn how to apply CSS transforms to fake a "slice" shape, creating a circular navigation using nothing but CSS (and some maths!). The article includes an interactive demo that explains visually and step by step how
AI summaryThe article is a review of Stephen P. Anderson's book 'Seductive Interaction Design,' which explains how psychological principles behind human attraction and motivation can be applied to create engaging user experiences for websites and applications. Using examples like LinkedIn, iTunes, and Typeform, the author covers concepts such as progress dynamics, sequencing, feedback loops, and the distinction between usability and psychology in design. The review also highlights the first 'weapon of seduction,' aesthetics, showing how visual cues like shadows, gradients, and proximity communicate functionality and influence users' emotions and behavior.