Skip to main content
CSS-Tricks
  • Articles
  • Videos
  • Almanac
  • Newsletter
  • Guides
  • DigitalOcean
  • DO Community
Search
Articles by

Temani Afif

CSS Challenges — CSS Generators — CSS Tip — CSS Pattern — CSS Arts

@ChallengesCss · support.temani-afif.com

Direct link to the article Cool Hover Effects That Use Background Properties
background background-position hover links

Cool Hover Effects That Use Background Properties

A while ago, Geoff wrote an article about a cool hover effect. The effect relies on a combination of CSS pseudo-elements, transforms, and transitions. A lot of comments have shown that the same effect can be done using background …

Apr 27, 2022 (Updated on May 26, 2022)
Direct link to the article Tricks to Cut Corners Using CSS Mask and Clip-Path Properties
clip-path css shapes gradients mask

Tricks to Cut Corners Using CSS Mask and Clip-Path Properties

We recently covered creating fancy borders with CSS mask properties, and now we are going to cut the corners with CSS mask and clip-path! A lot of techniques exist to cut different shapes from the corners of any element. …

Mar 30, 2022 (Updated on Aug 11, 2022)
Direct link to the article Fancy CSS Borders Using Masks (Zig-Zag, Wavy, and More)
borders gradients mask

Fancy CSS Borders Using Masks (Zig-Zag, Wavy, and More)

Have you ever tried to make CSS borders in a repeating zig-zag pattern? Like where a colored section of a website ends and another differently colored section begins — not with a straight line, but angled zig zags, rounded humps, …

Jan 26, 2022 (Updated on Jan 31, 2023)
Direct link to the article Responsive Layouts, Fewer Media Queries
clamp flexbox grid media queries responsive

Responsive Layouts, Fewer Media Queries

We cannot talk about web development without talking about Responsive Design. It’s just a given these days and has been for many years. Media queries are a part of Responsive Design and they aren’t going anywhere. Since the introduction of …

Nov 22, 2021 (Updated on Jul 6, 2023)
Direct link to the article Exploring the CSS Paint API: Rounding Shapes
canvas css paint api houdini

Exploring the CSS Paint API: Rounding Shapes

Adding borders to complex shapes is a pain, but rounding the corner of complex shapes is a nightmare! Luckily, the CSS Paint API is here to the rescue! That’s what we’re going to look at as part of this “Exploring …

Oct 22, 2021
Direct link to the article Exploring the CSS Paint API: Polygon Border
canvas clip-path css paint api houdini

Exploring the CSS Paint API: Polygon Border

Nowadays, creating complex shapes is an easy task using clip-path, but adding a border to the shapes is always a pain. There is no robust CSS solution and we always need to produce specific “hacky” code for each particular …

Sep 20, 2021 (Updated on Oct 22, 2021)
Direct link to the article Exploring the CSS Paint API: Blob Animation
animation canvas css paint api houdini

Exploring the CSS Paint API: Blob Animation

After the fragmentation effect, I am going to tackle another interesting animation: the blob! We all agree that such effect is hard to achieve with CSS, so we generally reach for SVG to make those gooey shapes. But …

Aug 30, 2021 (Updated on Oct 22, 2021)
Direct link to the article Exploring the CSS Paint API: Image Fragmentation Effect
canvas css paint api houdini

Exploring the CSS Paint API: Image Fragmentation Effect

In my previous article, I created a fragmentation effect using CSS mask and custom properties. It was a neat effect but it has one drawback: it uses a lot of CSS code (generated using Sass). This time I am …

Aug 9, 2021 (Updated on Oct 22, 2021)
Direct link to the article Build Complex CSS Transitions using Custom Properties and cubic-bezier()
@property animation cubic-bezier transition

Build Complex CSS Transitions using Custom Properties and cubic-bezier()

I recently illustrated how we can achieve complex CSS animations using cubic-bezier() and how to do the same when it comes to CSS transitions. I was able to create complex hover effect without resorting to keyframes. In this article, I …

Jul 14, 2021
Direct link to the article Hexagons and Beyond: Flexible, Responsive Grid Patterns, Sans Media Queries
float grid layout

Hexagons and Beyond: Flexible, Responsive Grid Patterns, Sans Media Queries

A little while back, Chris shared this nice hexagonal grid. And true to its name, it’s using —wait for it — CSS Grid to form that layout. It’s a neat trick! Combining grid columns, grid gaps, and creative clipping …

Jun 3, 2021 (Updated on Jun 8, 2021)
Direct link to the article Advanced CSS Animation Using cubic-bezier()
css animation cubic-bezier houdini

Advanced CSS Animation Using cubic-bezier()

When dealing with complex CSS animations, there is a tendency to create expansive @keyframes with lots of declarations. There are a couple of tricks though that I want to talk about that might help make things easier, while staying in …

May 13, 2021
  • Newer
  • 1
  • ...
  • 2
  • 3
  • 4
  • Older

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • DigitalOcean
  • DigitalOcean Community
  • About DigitalOcean
  • Legal
  • Agency Coaching
  • Free Credit Offer
CSS-Tricks
  • Email
  • Guest Writing
  • Book
  • Advertising
Follow
  • Mastodon
  • Twitter
  • Instagram
  • YouTube
  • CodePen
  • iTunes
  • RSS
Back to Top