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