Search

Nalezeno "Functions": 143

Better CSS Shapes Using shape() — Part 2: More on Arcs


This is the second part of a series that dives deep into the CSS shape() command, continuing with a more detailed look at the arc command. Better CSS Shapes Using shape() — Part 2: More on Arcs originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get...

Better CSS Shapes Using shape() — Part 1: Lines and Arcs


This is the first part of a series that dives deep into the shape function, starting with shapes that use lines and arcs. Better CSS Shapes Using shape() — Part 1: Lines and Arcs originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter

SVG to CSS Shape Converter


Shape master Temani Afif has what might be the largest collection of CSS shapes on the planet with all the tools to generate them on the fly. There’s a mix of clever techniques he’s typically used to make those shapes, … SVG to CSS Shape Converter originally published...

CSS shape() Commands


The CSS shape() function recently gained support in both Chromium and WebKit browsers. It's a way of drawing complex shapes when clipping elements with the clip-path property. CSS shape() Commands originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get...

Functions in CSS?!


Arguments?! Return values?! What's crazier, you can use functions right now in Chrome Canary! So, after reading and playing around, here are my key insights on what you need to know about CSS Functions. Functions in CSS?! originally published on CSS-Tricks, which is part of the DigitalOcean...

The What If Machine: Bringing the “Iffy” Future of CSS into the Present


My thesis for today's article offers further reassurance that inline conditionals are probably not the harbinger of the end of civilization: I reckon we can achieve the same functionality right now with style queries, which are gaining pretty good browser support. The What If Machine: Bringing...

Typecasting and Viewport Transitions in CSS With tan(atan2())


We’ve been able to get the length of the viewport in CSS since… checks notes… 2013! Surprisingly, that was more than a decade ago. Getting the viewport width is as easy these days as easy as writing 100vw, but … Typecasting and Viewport Transitions in...

How to Wait for the sibling-count() and sibling-index() Functions


Today, I want to look into one of those cases of impatient and how the community has waited for that feature, to be specific, two upcoming functions: sibling-count() and sibling-index(). How to Wait for the sibling-count() and sibling-index() Functions originally published on CSS-Tricks, which...

The Role of Verifiable Random Functions (VRFs) in Blockchain


Verifiable Random Functions (VRFs) are becoming increasingly important in the world of blockchain technology, serving as a fundamental mechanism for […] The post The Role of Verifiable Random Functions (VRFs) in Blockchain appeared first on

Come to the light-dark() Side


You’d be forgiven for thinking coding up both a dark and a light mode at once is a lot of work. You have to remember @media queries based on prefers-color-scheme as well as extra complications that arise when letting visitors … Come to the light-dark() Side originally published...

Callbacks on Web Components?


A gem from Chris Ferdinandi that details how to use custom events to hook into Web Components. More importantly, Chris dutifully explains why custom events are a better fit than, say, callback functions. With a typical JavaScript library, you pass … Callbacks on Web Components? originally...

CSS Olympic Rings


It was a few years ago during the 2020 Olympics in Tokyo 2020 that I made a demo of animated 3D Olympic rings. I like it, it looks great, and I love the effect of the rings crossing each other.… CSS Olympic Rings originally published on CSS-Tricks, which is part of the DigitalOcean family....

CSS Functions and Mixins Module Notes


Most days, I’m writing vanilla CSS. Thanks to CSS variables and nesting, I have fewer reasons to reach for Sass or any other preprocessor. The times I reach for Sass tend to be when I need a @mixin to loop … CSS Functions and Mixins Module Notes originally published on CSS-Tricks...

Arkham integrates Chainlink Functions to revolutionize data security


Arkham Intel Exchange is making significant progress in the field of technology, and it has added Chainlink Functions to its system. The integration of said algorithm will result in an intelligence verification process that is both decentralized and secure. By teaming up with Chainlink, they have...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace