Tech is political: The people under attack in Palestine 🇵🇸, Iran 🇮🇷, and Lebanon 🇱🇧 are people like us. They’re our brothers and sisters, too. Read up on their history, scrutinize what you’re told, and demand respect and accountability. Hide

Frontend Dogma

“functions” News Archive

Definition, related topics, and tag feed

Definition · Supertopics: programming, css (non-exhaustive) · “functions” × ? · “functions” RSS feed (per email)

Entry (Sources) and Additional TopicsDate#
12 CSS Features You Can Use Today With No Build Step (fla)260
css, nesting, container-queries, grids, aspect-ratio, cascade, selectors, animations, scrolling, units, logical-properties
CSS “if()” and Custom Functions (una+)259
videos, css, conditionals
Comparing Values With CSS “progress()” (pre/fro)258
css
Container Style Queries and Advanced “attr()”: Rethinking How to Wire Up My Components in CSS (uti)257
css, style-queries, grids, layout, components
Let’s Use the Emergent CSS “random()” Function in All the Browsers (css)256
css, randomness, support, browsers
CSS Infinity Use Cases (arg)255
css, math, examples
When You Need to Make a Triangle, Think Conic Gradients (chr/fro)254
css, gradients
In-n-Out Animation Using “sibling-index()” (css/fro)253
css, animations
Throwing Confetti With CSS Random (sch)252
css, randomness, effects
Boundary-Aware Styling in CSS (pre/fro)251
css, animations, examples
Fluid Typography With “progress()” (mat/fro)250
css, typography, liquid-design
Experimenting With “random()” in CSS (pol)249
css, randomness, experiments
Modern CSS Theming With “light-dark()”, “contrast-color()”, and Style Queries (una)248
css, theming, dark-mode, contrast, style-queries
Managing Anchor Associations With Data Attributes and Advanced “attr()” (dxn/fro)247
anchor-positioning, html, custom-data, css, attributes
Advanced Tree Counting: Mathematical Layouts With “sibling-index()” and “sibling-count()” (sma)246
css, math, layout
Better Fluid Sizing With “round()” (sha)245
css, liquid-design
CSS Math “random()” in Production: Native Randomness Without JavaScript244
css, math, randomness, javascript, performance, accessibility
The Importance of Native Randomness in CSS (alv/css)243
css, randomness
More Easy Light-Dark Mode Switching: “light-dark()” Is About to Support Images (bra)242
css, images, dark-mode
“contrast-color()” Beyond Black and White (una)241
css, colors, contrast
Automated Accessible Text With “contrast-color()” (una)240
css, colors, contrast, accessibility
Abusing Customizable Selects (pat/css)239
forms, html, css
The Odometer Effect (Without JavaScript) (pre/fro)238
css, effects
Native Random Values in CSS (alv)237
css, randomness
Potentially Coming to a Browser “:near()” You (dxn/css)236
css
Weird Issues With CSS Calculations in Safari 26.2 (cit)235
css, safari, browsers
Spiral Scrollytelling in CSS With “sibling-index()” (css)234
css, scrolling, gsap
Building Typographic Scales in CSS With “:heading()”, “sibling-index()”, and “pow()” (stu)233
css, math, typography
How to Use the “Auto” Value With “clamp()” (css)232
how-tos, css
Responsive Hexagon Grid Using Modern CSS (css/css)231
css, math, responsive-design
CSS in 2026: The New Features Reshaping Frontend Development (log)230
css
Focus Rings With Nested “contrast-color()”? (dav)229
css, selectors, focus, contrast
4 CSS Features Every Front-End Developer Should Know in 2026 (arg)228
css, scrolling
Directional CSS With “scroll-state(scrolled)” (una)227
css, scrolling
The New “clamp()” Function in PHP 8.6 (ami)226
php
Creating Scroll-Based Animations in Full view() (pre/css)225
css, animations, scrolling
How to Unit Test a Vue Composable With TypeScript (joh)224
how-tos, testing, vuejs, typescript
Introduction to CSS “if” Statements and Conditional Logic (mar)223
introductions, css, conditionals
“light-dark()” Isn’t Always the Same as “prefers-color-scheme” (ste)222
css, dark-mode, colors
More CSS “random()” Learning Through Experiments (chr/fro)221
css, randomness, experiments
The “Most Hated” CSS Feature: “asin()”, “acos()”, “atan()”, and “atan2()” (mon/css)220
css, math
Building a Multi-Stage Timetable With Modern CSS Using Grid, Subgrid, “round()”, and “mod()” (nil)219
css, grids, layout
Staggered Animation With CSS “sibling-*” Functions (pre/fro)218
animations, css
The “Most Hated” CSS Feature: “tan()” (mon/css)217
css, math
Springs and Bounces in Native CSS (jos)216
css, animations, transitions, effects
CSS Finally Gets Inline Conditional Logic With New “if()” Function215
css, conditionals
Making Context-Aware Components: How CSS “inherit()” Could Simplify Design Systems (stu)214
components, css, custom-properties
Sequential “linear()” Animation With n Elements (css/css)213
css, animations
25 New and Rad Features of CSS (arg/cas)212
videos, css, transitions, animations, cascade, selectors, colors, scrolling
The Thing About “contrast-color” (geo/css)211
css, colors, contrast
The New “progress()” Function in CSS (ami)210
css, examples
CSS Typed Arithmetic (ami/css)209
css, math
The Best CSS Unit Might Be a Combination (mia/odd)208
css, units
What You Need to Know About Modern CSS (2025 Edition) (chr/fro)207
css, animations, pop-overs, forms, shapes, source-order, link-lists
The “Most Hated” CSS Feature: “cos()” and “sin()” (mon/css)206
css, math
Styling Siblings With CSS Has Never Been Easier: Experimenting With “sibling-count” and “sibling-index” (uti)205
css, selectors
Breakpoint Columns, Five Ways—Which Do You Like? (chr/fro)204
css, layout, breakpoints, media-queries, grids
One List to Rule Them All (arg)203
css, selectors, units, learning, link-lists
The CSS “if()” Function (san)202
css, conditionals
What You Need to Know About CSS Color Interpolation (sun/css)201
css, colors, oklch
The CSS “random()” Function (san)200
css, randomness
Should the CSS “light-dark()” Function Support More Than Light and Dark Values? (sun/css)199
css, dark-mode
Learning Web Development: Asynchronous JavaScript—Promises and “async” Functions (rau)198
javascript, asynchrony, promises
Visualizing Responsive Typography (mia/odd)197
css, typography, responsive-design
Very Early Playing With “random()” in CSS (chr/fro)196
css, randomness
Rolling the Dice With CSS “random()” (jon+/web)195
css, randomness, examples
Obsessing Over Smooth “radial-gradient()” Disc Edges (ana/fro)194
css, gradients
Learning Web Development: Numbers, Variables, Functions in JavaScript (rau)193
javascript, variables
5 Useful CSS Functions Using the New “@function” Rule (una)192
css, examples
The CSS “if()” Function: Conditional Styling Will Never Be the Same (log)191
css, conditionals
Designing for User Font-Size and Zoom (mia/odd)190
design, typography, zooming, css, units
Unconditional Love for Conditional CSS (geo)189
css, conditionals, mixins, container-queries, transitions
Dynamic “nth-child()” Using “sibling-index()” and “if()” (css)188
css, conditionals
Get the Index of an Element Within Its Parent (css)187
css
CSS Conditionals With the New “if()” Function (una)186
css, conditionals
What’s the Difference Between Ordinary Functions and Arrow Functions in JavaScript? (jrs)185
javascript, comparisons
Lightly Poking at the CSS “if()” Function in Chrome 137 (sun/css)184
css, conditionals, chrome, browsers
“calc-size()” (kev)183
css
Color Everything in CSS (mon/css)182
css, colors
CSS Color Functions (css)181
guides, css, colors
Exploring the CSS “contrast-color()” Function… a Second Time (dxn/css)180
css, colors, contrast, accessibility
Functional Capturing (kiz)179
css
The New “if()” Function in CSS Has Landed in the Latest Chrome (ami)178
css, conditionals, chrome, browsers
CSS “if()” Functions and “reading-flow” (in Chrome 137) (una)177
videos, css, conditionals
Better CSS Shapes Using “shape()” (css/css)176
css, shapes
Move Modal in on a… “shape()” (chr/fro)175
modals, css
How to Have the Browser Pick a Contrasting Color in CSS (jen/web)174
how-tos, browsers, css, colors, contrast
I Think the Ergonomics of Generators Is Growing on Me (mac)173
javascript
Guitar Chords in CSS (sto)172
css, examples
“shape()”: A New Powerful Drawing Syntax in CSS (chr/fro)171
css, shapes, clipping
Why Is Nobody Using the “hwb()” Color Function? (css)170
css, colors
CSS “shape()” Commands (geo/css)169
css, shapes, clipping
“oklch()”168
css, colors, oklch
Custom Progress Element Using the “attr()” Function (css/fro)167
css, progress-indicators, gradients
The “min()” and “max()” Functions (kev)166
css
To “light-dark()” or Not to “light-dark()” (web)165
videos, css, dark-mode
Use “shape()” for Responsive Clipping (nom)164
css, shapes, clipping, responsive-design
First Look at the Modern “attr()” (sha)163
css, attributes, feature-detection
Relative Colors (sha)162
css, colors, contrast
10 Hidden Gems in Angular That You Should Use161
angular
Functions in CSS?! (mon/css)160
css
How to Use “attr()” in CSS for Columns, Colors, and Font-Size (chr/fro)159
how-tos, css, layout, colors, typography
Intent to Experiment for Longer (kiz)158
chrome, browsers, css, conditionals
Clean Code in JavaScript: A Comprehensive Guide157
guides, javascript, principles, conventions, variables, objects, comments, testing, quality
Breakpoint-Free CSS Grid Layouts (kev)156
videos, css, grids, layout
CSS “@function” + CSS “if()” = 🤯 (bra)155
css, conditionals, custom-properties, dark-mode
The “attr()” Function in CSS Now Supports Types (ami)154
css, attributes, types
The Problem With Indirections (dan)153
programming, variables, presentational-html, state-management
Live CSS Colors: What You Can Safely Use (jar/van)152
css, colors
Typecasting and Viewport Transitions in CSS With “tan(atan2())” (mon/css)151
css, transitions, animations, math
Scroll State Queries Are on the Way (and a Bunch More) (kev)150
videos, css, selectors, container-queries, scrolling
New Capabilities for “attr()” (una)149
css
6 CSS Snippets Every Front-End Developer Should Know in 2025 (arg)148
css, custom-properties, transitions, animations, gradients, effects
Opacify HEX Color in CSS (osv)147
css, colors
Generating Test Values Using JavaScript Generators146
typescript, javascript, testing
How to Structure Functions (cfe)145
how-tos, programming
What Is a Callback Function? (cfe)144
javascript, callbacks
CSS “attr()” Gets an Upgrade (bra)143
css
How to Wait for the “sibling-count()” and “sibling-index()” Functions (mon/css)142
how-tos, css, selectors
CSS “light-dark()” (may/5t3)141
css, dark-mode
The Future of CSS: Construct “<custom-ident>” and “<dashed-ident>” Values With “ident()” (bra)140
css, transitions
“calc-size()” and Interpolate Size (kev/5t3)139
css, animations
How to Clamp the Lightness of a Relative Color in CSS (ang)138
how-tos, css, colors
Let’s Learn Generators in JavaScript137
javascript
Color in CSS or How I Learned to Disrespect Tennis (mat/btc)136
videos, css, colors
Possible Future CSS: Tree-Counting Functions and Random Values (kiz)135
css, randomness
CSS “min()” All the Things (sma)134
css
I Didn’t Know You Could Use Sibling Parameters as Default Values in Functions (mac)133
javascript
New Values and Functions in CSS (alv)132
css
Replacing Sass’ “darken()” and “lighten()” Functions With Pure CSS (sjo)131
css, sass
JavaScript Generators Explained, but on a Senior-Level (jan)130
javascript
Relative Color Syntax—Basic Use Cases (chr/fro)129
css, colors, browsers, support
“stripes()”: The Border Function You Never Knew You Needed (jos)128
css, borders
Garbage Collection and Closures (jaf)127
javascript, closures, garbage-collection
Better Ways to Use Async Functions in JavaScript126
javascript, asynchrony, promises
CSS Stuff I’m Excited After the Last CSSWG Meeting (mon/css)125
css, transitions, anchor-positioning
Deploy AWS Lambda Functions With Serverless Framework and Node.js124
deploying, aws, serverless, lambda, nodejs
A Text-Reveal Effect Using “conic-gradient()” in CSS (pre/fro)123
css, gradients, effects
Mastering JavaScript Generators122
javascript
Lesser-Known CSS Features That You Should Learn Now121
css
One of the Boss Battles of CSS Is Almost Won! Transitioning to “auto” (chr/fro)120
css, transitions, animations
How to Compose JavaScript Functions That Take Multiple Parameters (The Epic Guide) (jrs)119
guides, how-tos, javascript
No More Pixel Rounding Issues (css)118
css, tips-and-tricks
“contrast-color()” Is a Good Thing, but Also Solving the Problem at the Wrong Layer (eri)117
accessibility, colors, contrast, css
On Compliance vs. Readability: Generating Text Colors With CSS (lea)116
css, colors, compliance, readability, comparisons
The CSS Stepped Value Math Functions Are Now in Baseline 2024115
css, math, browsers, support, web-platform
Shades of Grey With “color-mix()” (mic)114
css, colors
Creating Fluid Typography With the CSS “clamp()” Function113
css, typography, liquid-design
JavaScript Features That Most Developers Don’t Know112
javascript
What’s Going On in Dark Theme / Light Theme Land (chr/fro)111
css, dark-mode
CSS Color-Scheme-Dependent Colors With “light-dark()” (bra)110
css, colors, dark-mode
How to Use jQuery’s “ajax()” Function for Asynchronous HTTP Requests109
how-tos, jquery, ajax, asynchrony
New CSS That Can Actually Be Used in 2024 (tho)108
css, logical-properties, container-queries, selectors, nesting, cascade, grids
Make Your Functions More Reusable With Generics (mat)107
typescript, generics, maintainability
Creating Color Palettes With the CSS “color-mix()” Function (mic)106
css, colors, color-palettes
Future of CSS: Functions and Mixins105
css, mixins
The New CSS Math: “pow()”, “sqrt()”, and Exponential Friends (dan)104
css, math
CSS Mixins and Functions Explainer (mia/odd)103
css, mixins
When to Use the “min()” or “max()” Function (css)102
css, tips-and-tricks
The New CSS Color Format You Didn’t Know You Needed; “oklch()”101
css, colors, oklch, tailwind
A Practical Introduction to Scroll-Driven Animations With CSS “scroll()” and “view()” (arg/cod)100
introductions, scrolling, animations, css
Dynamically Darken or Lighten a Color in CSS (bpu)99
css, colors
“oklch()” Retains Perceived Lightness for Different Hue Angles (ste)98
css, colors, oklch
Cascade Layers, CSS Functions, and More CSS With Miriam Suzanne (mia+/sho)97
podcasts, interviews, css, cascade
The New CSS Math: “rem()” and “mod()” (dan)96
css, math
The New “light-dark()” Function to Switch Theme Color in CSS (ami)95
css, dark-mode
A Couple of New CSS Functions I’d Never Heard Of (chr)94
css
CSS Relative Color Syntax (arg)93
css, colors
The Future of CSS: Easy Light-Dark Mode Color Switching With “light-dark()” (bra)92
css, dark-mode
Deploy and Test AWS Step Functions With Node.js (app)91
nodejs, aws, deploying, testing
The Path to Awesome CSS Easing With the “linear()” Function (jhe/sma)90
css, animations
Arrow Functions vs. Traditional Functions in JavaScript (cfe)89
videos, javascript, comparisons
Realistic CSS Animations and the “linear()” Timing Function88
css, animations, time
How to Use Headless Chrome in Serverless Functions With a 50 MB Limit (ste)87
how-tos, headless, serverless, browsers, chrome
How to Use the CSS Grid “repeat()” Function (ral)86
how-tos, css, grids, layout
Creating Custom Easing Effects in CSS Animations Using the “linear()” Function (mic/mdn)85
css, animations
Fluid vs. Responsive Typography With CSS Clamp (its/log)84
css, typography, responsive-design
Useful Functions for [an] HTTP Server83
deno, servers, http
New CSS Color Spaces and Functions in All Major Engines82
css, colors, browsers, support
How to Draw Any Regular Shape With Just One JavaScript Function (mdn)81
how-tos, javascript
A Comprehensive Guide to Using Langchain.js and Google Cloud Functions for AI Applications80
guides, langchain, google, gcp, ai
Write Better CSS by Borrowing Ideas From JavaScript Functions (sma)79
css, javascript, quality
Clojure Transducers: Your Composable Data Pipelines (jan)78
clojure
Improving CSS Shapes With Trigonometric Functions (dan)77
css, shapes
TypeScript Function Types: A Beginner’s Guide76
guides, typescript
Function Overloading in TypeScript75
typescript
Creating a Clock With the New CSS “sin()” and “cos()” Trigonometry Functions (sto/css)74
css
10 Helpful JavaScript Utility Functions73
javascript
CSS Color Functions and Custom Properties (mat)72
css, colors, custom-properties
Why Would Anyone Need JavaScript Generator Functions? (jrs)71
javascript
Easy Fluid Typography With “clamp()” Using Sass Functions (uti/sma)70
liquid-design, typography, css, sass
How to Return Multiple Values From a Function in JavaScript (ami)69
how-tos, javascript
Useful JavaScript Math Functions and How to Use Them68
javascript, math
Use Cases for CSS Comparison Functions (sha)67
css
The Seventh Way to Call a JavaScript Function Without Parentheses66
javascript
A Simple “clamp()” Function in PHP (ami)65
php
Checking if a JavaScript Native Function Is Monkey Patched64
javascript
Intro to Serverless Functions63
introductions, serverless, netlify
Master Higher-Order Functions in JavaScript62
javascript
Misusing TypeScript Assertion Functions for Fun and Profit (chr)61
typescript
Debugging Node Serverless Functions on AWS Lambda60
nodejs, debugging, aws, serverless, lambda
JavaScript Function Composition: What’s the Big Deal? (jrs)59
javascript
When to Use a Function Expression vs. Function Declaration58
javascript, comparisons
How to Use CSS Math Functions: “calc”, “min”, “max”, “clamp” (sta)57
how-tos, css, math
Giving New Meanings to the Color Functions in CSS (alv)56
css, colors
Arrow Functions in JavaScript: How to Use Fat and Concise Syntax55
how-tos, javascript
An Introduction to AWS CloudFront Functions (hon)54
introductions, aws, cloudfront, content-delivery
How to Use Higher-Order Functions in JavaScript53
how-tos, javascript
State of the Web: Serverless Functions52
serverless, edge-computing
Functional Programming in PHP: Higher-Order Functions51
php, programming
“min()”, “max()”, and “clamp()”: Three Logical CSS Functions to Use Today (una)50
css
4 Important Differences Between Regular and Arrow Functions49
javascript, comparisons
Practical Uses of CSS Math Functions: “calc”, “clamp”, “min”, “max” (5t3)48
css, math
10 Utility Functions for Working With Objects in JavaScript47
javascript, objects
5 Different Ways to Declare Functions in jQuery (cra)46
jquery, javascript
Things You Can Do With CSS Today (bel/sma)45
css, masonry, layout, selectors, units
CSS “min()”, “max()”, and “clamp()” (una)44
css, typography
The Expanding Gamut of Color on the Web (oll/css)43
colors, css, oklch
CSS Functions Guide (eri/css)42
guides, css, selectors
Recursive Functions in TypeScript41
typescript
Creating Color Themes With Custom Properties, HSL, and a Little “calc()” (css)40
theming, colors, css, custom-properties
The CSS Calculating Function Guide (chr/css)39
guides, css, math, examples
The Best Color Functions in CSS? (chr/css)38
css, colors
Dynamically Darken a Color in CSS (jim)37
css, filters, colors
Intrinsically Responsive CSS Grid With “minmax()” and “min()” (vam)36
intrinsic-design, responsive-design, css, grids, layout
A Quick Intro to Higher-Order Functions in JavaScript35
introductions, javascript
Keep Math in the CSS (chr/css)34
css, math
Fun Tip: Use “calc()” to Change the Height of a Hero Component (css)33
css
New Syntax for JS “Function Stuff” (tab)32
javascript, operators
ES6 Didn’t Introduce Default Parameters (Attention to Detail)31
ecmascript, javascript
Using Default Parameters in ES6 (lou/css)30
ecmascript, javascript
How JavaScript Rest Parameters Actually Work29
javascript
Exploring Data With Serverless and Vue: Automatically Update GitHub Files With Serverless Functions (sar/css)28
vuejs, serverless, github
JavaScript Functions That Define and Rewrite Themselves27
javascript
Using ES2017 Async Functions (css)26
ecmascript, javascript, asynchrony
What’s a Transducer? (rag)25
programming, javascript, concepts
JavaScript Operators, Conditionals, and Functions24
javascript, operators, conditionals
How to Write Your Own Custom Sass Functions23
how-tos, sass, examples
Working With Colors Guide (sar/css)22
guides, colors, units, preprocessors, sass, less, stylus, blend-modes, css
Let’s Learn ES2015 (css)21
ecmascript, javascript, variables, operators, examples
Understanding Transducers in JavaScript (rom)20
javascript
Getting Started With CSS “calc()” (ana/sma)19
introductions, css
Understanding Transducers18
programming, examples
A Closer Look at Functions in Go17
go
Learning to Love the Boring Bits of CSS (sto/ali)16
css, units, selectors
The “color()” Function (tab)15
css
Dynamic Function Names in JavaScript (mar)14
naming, javascript
Defining and Using Functions in PHP13
php
Array Handling Functions12
php, arrays
15 JavaScript String Functions11
javascript, strings
The CSS3 “matrix()” Transform for the Mathematically Challenged (zol)10
css, transforms, math
The Document Ready Function9
jquery
On “attr()” and “calc()” (lea)8
css
Simple JavaScript Function to Include CSS7
javascript, css
Will JavaScript Function Without the “function” Statement? (cra)6
javascript
Firefox 4: CSS3 “calc()” (moz)5
css, firefox, browsers
JavaScript, We Hardly “new” Ya (dou)4
javascript, objects
Scope in JavaScript (mik/dig)3
javascript, scope, examples
Top 10 Custom JavaScript Functions of All Time2
javascript
Variable Scope for New Programmers (jus/dig)1
javascript, variables, scope