Life is about deciding who you are: Join us and decide to be for environmental protection, free education and generous social security, human rights and international law, and, of course, action against oppression and violence (starting with helping the people of occupied Palestine 🇵🇸)! Hide

Frontend Dogma

“functions” News Archive

Definition, related topics, and tag feed

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

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