# Front end

Front-end development is the practice of architecting and developing websites and applications using web technologies such as HTML, CSS, DOM, and JavaScript.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## How to Build a Browser-Based PDF Password Protector Using JavaScript

DevFeed: [How to Build a Browser-Based PDF Password Protector Using JavaScript](<https://devfeed.tech/articles/how-to-build-a-browser-based-pdf-password-protector-using-javascript-144720.md>)

Original publisher: [Read original article](<https://www.freecodecamp.org/news/build-pdf-password-protector-javascript/>)

Author: Bhavin Sheth

Published: 2026-11-19T17:20:58Z

Content type: tutorial

Language: en

Sources: [Free Code Camp](<https://devfeed.tech/sources/freecodecamp-programming-tutorials-python-javascript-git-more.md>)

Topics: [pdf](<https://devfeed.tech/topics/pdf.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [browser](<https://devfeed.tech/topics/browser.md>), [passwords](<https://devfeed.tech/topics/passwords.md>), [Encoding](<https://devfeed.tech/topics/encoding.md>)

Tags: [aes](<https://devfeed.tech/tags/aes.md>), [browser](<https://devfeed.tech/tags/browser.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [password](<https://devfeed.tech/tags/password.md>), [pdf](<https://devfeed.tech/tags/pdf.md>), [security](<https://devfeed.tech/tags/security.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

The tutorial builds a three-file PDF password protector that processes files entirely in the browser. PDF-lib 1.17.1 reads and writes the PDF but cannot encrypt it, so the code implements PDF 2.0 AES-256 revision 6 encryption with the Web Crypto API, including password hashing, encryption dictionary values, and per-object string and stream encryption. Users set an open password and optional permissions password and choose print, copy, and edit restrictions. PDF.js checks that the output requires the password and opens with the same page count; qpdf and other PDF readers are suggested for additional validation. The page must run in a secure context such as HTTPS or localhost. Permissions may be ignored by software, so the open password protects the content; encrypting a digitally signed PDF invalidates its signature. Already encrypted PDFs must be unlocked first, and lost passwords cannot be recovered.

### Source excerpt

Contracts, invoices, medical reports, and scanned ID cards are often converted to PDF files. And if one of them ends up in the wrong inbox or on a shared drive, anyone can open it. Adding a password f

## scroll-state()

DevFeed: [scroll-state()](<https://devfeed.tech/articles/scroll-state-144057.md>)

Original publisher: [Read original article](<https://css-tricks.com/almanac/functions/s/scroll-state/>)

Author: John Rhea

Published: 2026-11-19T14:57:54Z

Content type: article

Language: en

Sources: [CSS-Tricks](<https://devfeed.tech/sources/css-tricks.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [web animation](<https://devfeed.tech/topics/web-animation.md>)

Tags: [css](<https://devfeed.tech/tags/css.md>), [query](<https://devfeed.tech/tags/query.md>), [scroll](<https://devfeed.tech/tags/scroll.md>), [scrolling](<https://devfeed.tech/tags/scrolling.md>)

### AI overview

CSS `scroll-state()` is a container query for styling based on scrolling behavior, enabling effects such as revealing a back-to-top link or changing a sticky header without JavaScript. Its four features check the most recent scroll direction (`scrolled`), available overflow (`scrollable`), whether a sticky element is held at an edge (`stuck`), and whether a snap target has snapped (`snapped`). Direction values can use physical or writing-mode-aware axes. The examples show that `scrollable` becomes false at the end of the available area, while `stuck` and `snapped` queries belong on the sticky or snapped element; styles inside those queries can target descendants, not the container itself. Resizing sticky content can cause stutter or prevent scrolling past the sticky point; setting a suitable wrapper height can prevent content-driven resizing, though content may overflow, while transforms are an alternative.

### Source excerpt

The CSS scroll-state() query, surprisingly, has nothing to do with whether you're doom-scrolling in a state of existential dread. It does, however, allow you to change the CSS used based on scrolling behavior. scroll-state() originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.

## Build a Developer Portal with Postman and Fern in a Day

DevFeed: [Build a Developer Portal with Postman and Fern in a Day](<https://devfeed.tech/articles/build-a-developer-portal-with-postman-and-fern-in-a-day-139443.md>)

Original publisher: [Read original article](<https://blog.postman.com/build-a-developer-portal-with-postman-and-fern-in-a-day/>)

Author: Maximilian Friedrich

Published: 2026-11-17T16:00:34Z

Content type: tutorial

Language: en

Sources: [Postman](<https://devfeed.tech/sources/postman-blog.md>)

Topics: [Postman](<https://devfeed.tech/topics/postman.md>), [MDX](<https://devfeed.tech/topics/mdx.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [anthropic](<https://devfeed.tech/topics/anthropic.md>), [Slack](<https://devfeed.tech/topics/slack.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [api-documentation-portal](<https://devfeed.tech/tags/api-documentation-portal.md>), [build](<https://devfeed.tech/tags/build.md>), [collections](<https://devfeed.tech/tags/collections.md>), [developer](<https://devfeed.tech/tags/developer.md>), [developer-portal](<https://devfeed.tech/tags/developer-portal.md>), [docs](<https://devfeed.tech/tags/docs.md>), [fees](<https://devfeed.tech/tags/fees.md>), [fern](<https://devfeed.tech/tags/fern.md>), [front-end](<https://devfeed.tech/tags/front-end.md>), [general](<https://devfeed.tech/tags/general.md>), [git](<https://devfeed.tech/tags/git.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [mdx](<https://devfeed.tech/tags/mdx.md>), [post](<https://devfeed.tech/tags/post.md>), [postman](<https://devfeed.tech/tags/postman.md>), [postman-and-fern](<https://devfeed.tech/tags/postman-and-fern.md>), [saas](<https://devfeed.tech/tags/saas.md>), [ship](<https://devfeed.tech/tags/ship.md>), [using](<https://devfeed.tech/tags/using.md>), [with](<https://devfeed.tech/tags/with.md>), [work](<https://devfeed.tech/tags/work.md>)

### AI overview

The article describes building a developer portal from existing Postman Collections and API specs, with Fern generating a customizable site and Git-backed `.mdx` pages providing its content. The author's workflow uses a coding agent connected to Postman, a Public Workspace with Git integration, a Fern-created GitHub repository, and the Fern CLI; pages live under `root/fern/docs/pages` and can be edited by an agent. The author says this avoided new software, dedicated front-end work, and a costly portal SaaS, and produced a portal in a day; these are the author's reported results. Fern also provides machine-readable indexes, Markdown page output, bot-specific Markdown, content tags, citation-based RAG chat, and an optional hosted MCP server. For authenticated sites, Fern recommends disabling that MCP server; protected docs can be accessed by agents with a JWT from a Fern API key, while `robots.txt` controls third-party crawling and training. The article also mentions Playwright tests but leaves their implementation for another post.

### Source excerpt

Learn how to build a developer portal with Postman and Fern using Git-backed Collections and MDX. Ship docs in a day without SaaS fees or front-end work. The post Build a Developer Portal with Postman and Fern in a Day appeared first on Postman Blog.

## Introducing spatial CSS: A developer preview

DevFeed: [Introducing spatial CSS: A developer preview](<https://devfeed.tech/articles/introducing-spatial-css-a-developer-preview-138142.md>)

Original publisher: [Read original article](<https://webkit.org/blog/18621/introducing-spatial-css-a-developer-preview/>)

Author: Brandel Zachernuk

Published: 2026-11-16T23:45:44Z

Content type: article

Language: en

Sources: [WebKit](<https://devfeed.tech/sources/webkit.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [visionOS](<https://devfeed.tech/topics/visionos.md>), [3D](<https://devfeed.tech/topics/3d.md>), [Media Queries](<https://devfeed.tech/topics/media-queries.md>)

Tags: [3d](<https://devfeed.tech/tags/3d.md>), [3d-model](<https://devfeed.tech/tags/3d-model.md>), [api](<https://devfeed.tech/tags/api.md>), [css](<https://devfeed.tech/tags/css.md>), [developer-preview](<https://devfeed.tech/tags/developer-preview.md>), [model](<https://devfeed.tech/tags/model.md>), [preview](<https://devfeed.tech/tags/preview.md>), [safari](<https://devfeed.tech/tags/safari.md>), [spatial](<https://devfeed.tech/tags/spatial.md>), [visionos](<https://devfeed.tech/tags/visionos.md>)

### AI overview

Safari on visionOS 27.3 offers a limited developer preview of proposed spatial CSS, focused on composing 3D `<model>` elements. `spatial: portal` groups elements into a shared space; CSS `transform` moves, rotates, or scales models, while `position-anchor` and `position-context: anchor` align them to named points on other models. `@environment-map` lets elements share 360° HDR lighting, and `portal-action: orbit` enables rotating the scene. On visionOS, a user action can call `requestVolumetricScene()` to move portal content into a connected scene users can place in their space while the page remains linked for updates. Declarative CSS lets authors adapt spatial content with media queries and animate numeric values, reducing the need for JavaScript state management. The preview is limited to visionOS; it can be enabled in Safari's Advanced Feature Flags under CSS Portals, including in the visionOS Simulator. The article presents these features as an early preview and invites author feedback.

### Source excerpt

Safari on visionOS 27.3 comes with an important update: a limited feature preview of the proposed spatial CSS API, with an initial focus on working with 3D objects through the <model> element.

## CSS reversed(): A Better Way to Build Countdown Counters

DevFeed: [CSS reversed(): A Better Way to Build Countdown Counters](<https://devfeed.tech/articles/css-reversed-a-better-way-to-build-countdown-counters-136470.md>)

Original publisher: [Read original article](<https://jsdev.space/css-reversed-counters/>)

Author: anton liberant

Published: 2026-11-16T00:00:00Z

Content type: tutorial

Language: en

Sources: [JavaScript Development](<https://devfeed.tech/sources/javascript-development.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [Front end](<https://devfeed.tech/topics/frontend.md>)

Tags: [accessible](<https://devfeed.tech/tags/accessible.md>), [automatic](<https://devfeed.tech/tags/automatic.md>), [browser](<https://devfeed.tech/tags/browser.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [counter](<https://devfeed.tech/tags/counter.md>), [css](<https://devfeed.tech/tags/css.md>), [css-counters](<https://devfeed.tech/tags/css-counters.md>), [custom](<https://devfeed.tech/tags/custom.md>), [demo](<https://devfeed.tech/tags/demo.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [editorial](<https://devfeed.tech/tags/editorial.md>), [element](<https://devfeed.tech/tags/element.md>), [elements](<https://devfeed.tech/tags/elements.md>), [entries](<https://devfeed.tech/tags/entries.md>), [example](<https://devfeed.tech/tags/example.md>), [examples](<https://devfeed.tech/tags/examples.md>), [fallback](<https://devfeed.tech/tags/fallback.md>), [tips](<https://devfeed.tech/tags/tips.md>)

### AI overview

CSS `counter-reset: reversed(name)` lets CSS number elements backward, defaulting to a decrement of one and automatically choosing a starting value from relevant counter operations. Apply `counter-increment` and display the value with `counter()`; reversed counters can also use custom decrement amounts and `@counter-style` formats. They work on non-list elements, while semantic ordered lists can use HTML's `reversed` attribute. The text cautions that automatic starts count only elements with relevant counter operations, generated numbers are presentational, and CSS counters do not measure time. Browser support for CSS `reversed()` differs from support for `<ol reversed>`. For older browsers, use a traditional counter with an explicit starting value and negative increment; dynamic lists may need JavaScript to calculate and update that value.

### Source excerpt

Learn CSS reversed() counters with practical examples, custom numbering styles, countdown lists, and browser compatibility tips.

## 10 Big Ol' 2027 Black Friday Deals

DevFeed: [10 Big Ol' 2027 Black Friday Deals](<https://devfeed.tech/articles/10-big-ol-2027-black-friday-deals-132577.md>)

Original publisher: [Read original article](<https://css-tricks.com/2027-front-end-black-friday-deals/>)

Author: Geoff Graham

Published: 2026-11-13T14:05:24Z

Content type: article

Language: en

Sources: [CSS-Tricks](<https://devfeed.tech/sources/css-tricks.md>)

Topics: [Front end](<https://devfeed.tech/topics/frontend.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [UI/UX Design](<https://devfeed.tech/topics/ui-ux-design.md>), [AI interaction best practices](<https://devfeed.tech/topics/ai-interaction-best-practices.md>), [Web Accessibility (a11y)](<https://devfeed.tech/topics/web-accessibility.md>), [Design system](<https://devfeed.tech/topics/design-system.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-design](<https://devfeed.tech/tags/ai-design.md>), [ai-interfaces](<https://devfeed.tech/tags/ai-interfaces.md>), [articles](<https://devfeed.tech/tags/articles.md>), [black-friday](<https://devfeed.tech/tags/black-friday.md>), [black-friday-deals](<https://devfeed.tech/tags/black-friday-deals.md>), [courses](<https://devfeed.tech/tags/courses.md>), [css](<https://devfeed.tech/tags/css.md>), [deals](<https://devfeed.tech/tags/deals.md>), [design](<https://devfeed.tech/tags/design.md>), [design-patterns](<https://devfeed.tech/tags/design-patterns.md>), [design-system](<https://devfeed.tech/tags/design-system.md>), [design-systems](<https://devfeed.tech/tags/design-systems.md>), [education](<https://devfeed.tech/tags/education.md>), [front-end](<https://devfeed.tech/tags/front-end.md>)

### AI overview

The roundup lists Black Friday discounts on courses for front-end development, design, accessibility, and AI. Front-end options cover CSS and JavaScript; design courses address human-centered practice, interface patterns, design systems, and measuring UX impact. The accessibility section recommends Sara Soueidan's Practical Accessibility course for its detailed explanations and practical demos, but gives no price. AI offerings include a 20-plus-hour course on using AI in design-system workflows, with agent skills and community sessions, and a course on patterns for designing AI interfaces. Prices, discount codes, access terms, and included materials vary by course; the article says some deals are available now and others are upcoming, without specifying dates.

### Source excerpt

A big ol' roundup of Black Friday deals on front-end courses from the best independent publishers and educators in the business. 10 Big Ol' 2027 Black Friday Deals originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.

## How to Build a Browser-Based Image Storyboard to PDF Tool Using JavaScript

DevFeed: [How to Build a Browser-Based Image Storyboard to PDF Tool Using JavaScript](<https://devfeed.tech/articles/how-to-build-a-browser-based-image-storyboard-to-pdf-tool-using-javascript-133350.md>)

Original publisher: [Read original article](<https://www.freecodecamp.org/news/build-image-storyboard-to-pdf-tool-javascript/>)

Author: Bhavin Sheth

Published: 2026-11-13T10:44:43Z

Content type: tutorial

Language: en

Sources: [Free Code Camp](<https://devfeed.tech/sources/freecodecamp-programming-tutorials-python-javascript-git-more.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [interactive web graphics](<https://devfeed.tech/topics/interactive-web-graphics.md>), [Image](<https://devfeed.tech/topics/image.md>), [Image processing](<https://devfeed.tech/topics/image-processing.md>), [browser](<https://devfeed.tech/topics/browser.md>), [web graphics](<https://devfeed.tech/topics/web-graphics.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [browser-apis](<https://devfeed.tech/tags/browser-apis.md>), [build](<https://devfeed.tech/tags/build.md>), [canvas](<https://devfeed.tech/tags/canvas.md>), [comic](<https://devfeed.tech/tags/comic.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [image](<https://devfeed.tech/tags/image.md>), [indexeddb](<https://devfeed.tech/tags/indexeddb.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [note](<https://devfeed.tech/tags/note.md>), [pdf](<https://devfeed.tech/tags/pdf.md>), [plan](<https://devfeed.tech/tags/plan.md>), [storyboard](<https://devfeed.tech/tags/storyboard.md>), [tool](<https://devfeed.tech/tags/tool.md>), [video](<https://devfeed.tech/tags/video.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

The tutorial builds a browser-only JavaScript tool that turns image files into numbered storyboard sheets and a downloadable PDF; images stay on the device. It covers four layouts, frame titles/descriptions/durations, numeric filename sorting, EXIF rotation via `createImageBitmap`, previewing, and draft recovery with IndexedDB. PDF-lib combines individual JPEG photos sized for the selected resolution with a transparent 300 dpi canvas layer for text and lines, keeping photos compact and text edges sharp. Because canvas-rendered text is an image, it is not searchable or selectable; embedding fonts with PDF-lib's `fontkit` is offered as an alternative. The tutorial also describes sequential image processing and thumbnail use to limit memory demands.

### Source excerpt

Before anyone films a video, shoots an ad or draws the final pages of a comic, someone usually sketches the plan as a storyboard: one picture per shot, in order, with a short note about what happens a

## JoyFrontBench: Evaluating Front-End Coding Agents through Goal-Oriented Acceptance Contracts

DevFeed: [JoyFrontBench: Evaluating Front-End Coding Agents through Goal-Oriented Acceptance Contracts](<https://devfeed.tech/articles/joyfrontbench-evaluating-front-end-coding-agents-through-goal-oriented-acceptance-contracts-131701.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.14952>)

Author: Xiaoyi Qiao, Yicheng Wang, Jianan Lin, Xiaoyang Ji, Dongyi Lv, Yidan Huang, Shi Suo, Shiying Fan, Nan Duan, Jiaqi Wang

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Front end](<https://devfeed.tech/topics/frontend.md>), [AI in frontend development](<https://devfeed.tech/topics/ai-in-frontend-development.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [test](<https://devfeed.tech/topics/test.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>)

Tags: [acceptance](<https://devfeed.tech/tags/acceptance.md>), [agents](<https://devfeed.tech/tags/agents.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [contracts](<https://devfeed.tech/tags/contracts.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [front-end](<https://devfeed.tech/tags/front-end.md>), [performance](<https://devfeed.tech/tags/performance.md>), [tasks](<https://devfeed.tech/tags/tasks.md>)

### AI overview

JoyFrontBench distinguishes graded task performance from application success using acceptance contracts defined before generation. A core task passes only when all mandatory criteria and a shared completion threshold are met; an application succeeds only when every core task passes on the same operational artifact in one run. The benchmark contains 100 problems, 764 tasks, and 2,596 criteria, with reviewed links between user goals and required evidence. Its evaluation combines evidence-grounded judgments with deterministic record audits and fixed scoring rules. Across five models, the reported mean Average Task Score under OpenHands was 87.69%, while mean Application Success Rate was 51.52%, showing that high task scores can coexist with failures on essential workflows. The study also reports model ranking changes between OpenHands and OpenCode and variation in application success across repeated runs.

### Source excerpt

arXiv:2611.14952v1 Announce Type: new Abstract: Front-end coding agents are expected to produce applications that fulfill user goals, yet high task scores can coexist with failures in essential workflows. Evaluating these agents therefore requires an explicit distinction between partial implementation and application success. We introduce JoyFrontBench, a benchmark that makes this distinction through goal-oriented acceptance contracts. Each contract identifies core tasks and mandatory criteria before generation: a core task passes only when all mandatory criteria are satisfied and a shared completion threshold is met, while application success requires every core task to pass on the same operational artifact within a single run. Derived from practitioner requirements, JoyFrontBench comprises 100 front-end development problems, 764 tasks, and 2,596 atomic criteria, with reviewed annotations linking user goals to core tasks and evidence requirements. The evaluation framework combines evidence-grounded judgments with deterministic record auditing and fixed scoring rules, preserving graded task assessment alongside explicit core-task and application-level acceptance. We evaluate five coding models under two agent harnesses, OpenHands and OpenCode, on the 70-problem test set; the remaining 30 problems form a public set for validation and diagnostic analyses. Under OpenHands, the mean Average Task Score (ATS) across models is 87.69%, while the mean Application Success Rate (ASR) is 51.52%. Further analyses reveal changes in model rankings across harnesses and variation in application success across repeated runs. These findings highlight the limitations of aggregate task scores in characterizing application success and motivate explicit assessment of core-goal fulfillment alongside graded task performance.

## Giving AI Agents a Better Way to Debug CSS

DevFeed: [Giving AI Agents a Better Way to Debug CSS](<https://devfeed.tech/articles/giving-ai-agents-a-better-way-to-debug-css-133541.md>)

Original publisher: [Read original article](<https://www.amitmerchant.com/giving-ai-agents-a-better-way-to-debug-css/>)

Author: Amit Merchant

Published: 2026-11-13T00:00:00Z

Content type: tutorial

Language: en

Sources: [Amit Merchant](<https://devfeed.tech/sources/amit-merchant.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [AI in frontend development](<https://devfeed.tech/topics/ai-in-frontend-development.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Agent Browser](<https://devfeed.tech/topics/agent-browser.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [browser](<https://devfeed.tech/tags/browser.md>), [chrome-devtools](<https://devfeed.tech/tags/chrome-devtools.md>), [codex](<https://devfeed.tech/tags/codex.md>), [css](<https://devfeed.tech/tags/css.md>), [debug](<https://devfeed.tech/tags/debug.md>), [debugging](<https://devfeed.tech/tags/debugging.md>)

### AI overview

Chrome DevTools MCP lets Codex diagnose CSS using the browser's live style information instead of inferring behavior from source files alone. After connecting the MCP server and starting the app locally, Codex can use `take_snapshot` to locate an element and `get_css_styles` to inspect matched and inherited rules, inline styles, custom properties, applicable context, and overridden declarations. The example explains that `#main .card h2` wins over `.card h2` because it has greater specificity. The article also suggests using the tool to audit potential overrides and investigate dark mode, responsive layouts, and media query conflicts. Findings and proposed changes still need review and browser verification.

### Source excerpt

Have you ever written a CSS rule, only to find out that it doesn't seem to have any effect on the element you're trying to style? You inspect the stylesheet, find the declaration, and everything looks perfectly fine. But the browser has other plans.

## Streamlit's Floor, React's Ceiling, Inside Snowflake

DevFeed: [Streamlit's Floor, React's Ceiling, Inside Snowflake](<https://devfeed.tech/articles/streamlit-s-floor-react-s-ceiling-inside-snowflake-131049.md>)

Original publisher: [Read original article](<https://medium.com/snowflake/streamlits-floor-react-s-ceiling-inside-snowflake-c78f90e39dc8?source=rss----34b6daafc07---4>)

Author: Vinod S

Published: 2026-11-12T18:01:04Z

Content type: article

Language: en

Sources: [Snowflake Builders](<https://devfeed.tech/sources/snowflake-builders.md>)

Topics: [Streamlit](<https://devfeed.tech/topics/streamlit.md>), [React](<https://devfeed.tech/topics/react.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Python](<https://devfeed.tech/topics/python.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [Web Accessibility (a11y)](<https://devfeed.tech/topics/web-accessibility.md>)

Tags: [apache-2-0](<https://devfeed.tech/tags/apache-2-0.md>), [dashboard](<https://devfeed.tech/tags/dashboard.md>), [data-visualization](<https://devfeed.tech/tags/data-visualization.md>), [emea](<https://devfeed.tech/tags/emea.md>), [html](<https://devfeed.tech/tags/html.md>), [island](<https://devfeed.tech/tags/island.md>), [kpis](<https://devfeed.tech/tags/kpis.md>), [pandas](<https://devfeed.tech/tags/pandas.md>), [permissions](<https://devfeed.tech/tags/permissions.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [python](<https://devfeed.tech/tags/python.md>), [queries](<https://devfeed.tech/tags/queries.md>), [react](<https://devfeed.tech/tags/react.md>), [simplicity](<https://devfeed.tech/tags/simplicity.md>), [snowflake](<https://devfeed.tech/tags/snowflake.md>), [streamlit](<https://devfeed.tech/tags/streamlit.md>)

### AI overview

RiSiS adds a React island to a Streamlit in Snowflake page so the browser can update linked charts and KPIs during hover and drag, while Python and SiS continue to handle sessions, queries, permissions and deployment. The example sends a 49,000-row deal cube (about 1 MB) to the browser once per session, where it handles filtering; its author says speed is secondary to the interactions and measurements cover only one dashboard and data size. A native Streamlit twin gives the same answers and may be sufficient. Islands require custom styling and accessibility work, add code and a 790 KB per-session bundle, and rely on a pinned Streamlit sanitizer. The article says warehouse runtime supports Streamlit only through 1.52.2 and lacks Components v2, while container runtime is needed for newer features. For a full web stack, Snowflake App Runtime is presented as an option, with server-side APIs, queries and input checks left to the developer.

### Source excerpt

Keep the simplicity of Streamlit in Snowflake, and move the interactions that a rerun cannot do to the front end Picture a revenue review. An analyst opens the pipeline dashboard and points at EMEA on the regional bar chart. A tooltip appears. The other charts and the KPIs do not change. She wants more. She wants every chart and KPI to show the EMEA numbers while she points. Then she wants to drag across two quarters on the trend line and watch bookings and the commit share change during the drag. That is how she finds the quarter where the commit share fell. Without these interactions, she must click, wait for the rerun, read the result and click again, for every guess. I build many Streamlit in Snowflake (SiS) apps. I use SiS because it is the simplest way that I know to show data to people, not to mention that you can have an app up and running with a SINGLE PROMPT. I did not want to move my apps out of SiS. I wanted SiS to support these interactions. I call the result RiSiS (React in SiS). This post shows how RiSiS works, what it costs, and one open question. TL;DR: react-in-streamlit-in-snowflake is an open example. It adds a React island to a SiS page with st.html. An island is one React component at one position on a Streamlit page. Python and SiS continue to control the session, the queries, the permissions and the deploy. The island adds three interactions that a rerun cannot do: hover previews across all charts KPIs that change during a drag linked charts that change together The example is free under Apache-2.0 and runs in your own account. Why I use SiS Streamlit has a low floor. A chart is three lines of Python. SiS adds the parts that I would otherwise build myself: One language for the data. Snowpark, pandas and the queries stay in Python. No hosting work. Snowflake runs the app. Users open the app in Snowsight with their usual sign-in. Known permissions. The app queries with the privileges of its owner (security overview). A role controls what the ap

## CSS aspect-ratio: Responsive Boxes, Images and Videos

DevFeed: [CSS aspect-ratio: Responsive Boxes, Images and Videos](<https://devfeed.tech/articles/css-aspect-ratio-responsive-boxes-images-and-videos-130904.md>)

Original publisher: [Read original article](<https://markodenic.com/css-aspect-ratio/>)

Author: Marko

Published: 2026-11-12T09:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Responsive Design](<https://devfeed.tech/topics/responsive-design.md>), [Image](<https://devfeed.tech/topics/image.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [performance-optimization](<https://devfeed.tech/topics/performance-optimization.md>)

Tags: [absolute](<https://devfeed.tech/tags/absolute.md>), [ads](<https://devfeed.tech/tags/ads.md>), [aspect](<https://devfeed.tech/tags/aspect.md>), [auto-fill](<https://devfeed.tech/tags/auto-fill.md>), [avatar](<https://devfeed.tech/tags/avatar.md>), [background](<https://devfeed.tech/tags/background.md>), [border-radius](<https://devfeed.tech/tags/border-radius.md>), [css](<https://devfeed.tech/tags/css.md>), [hack](<https://devfeed.tech/tags/hack.md>), [images](<https://devfeed.tech/tags/images.md>), [images-and-videos](<https://devfeed.tech/tags/images-and-videos.md>), [layout](<https://devfeed.tech/tags/layout.md>), [object-fit](<https://devfeed.tech/tags/object-fit.md>), [padding](<https://devfeed.tech/tags/padding.md>), [property](<https://devfeed.tech/tags/property.md>), [ratio](<https://devfeed.tech/tags/ratio.md>), [responsive](<https://devfeed.tech/tags/responsive.md>), [shift](<https://devfeed.tech/tags/shift.md>), [square](<https://devfeed.tech/tags/square.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [videos](<https://devfeed.tech/tags/videos.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

CSS `aspect-ratio` sets a preferred width-to-height proportion, letting the browser calculate a dimension when one is `auto`. The excerpt shows using `width: 100%` with `aspect-ratio: 16 / 9` for responsive video embeds, and `object-fit: cover` to crop images into consistent square or card-shaped boxes. Image `width` and `height` attributes let browsers reserve space before loading; CSS can then scale images responsively. Ratios can appear overridden when both dimensions are fixed, content forces a box taller, flex or grid stretching sets the height, or the element is inline. The excerpt suggests making a dimension automatic, setting `min-height: 0` and overflow for text boxes, or aligning flex and grid items to the start.

### Source excerpt

How the CSS aspect-ratio property works: responsive 16:9 videos without the padding hack, square and portrait images with object-fit, avoiding layout shift, and why aspect-ratio sometimes seems ignored.

## How I Built a Mouse-Responsive Gradient Using Just CSS and Math

DevFeed: [How I Built a Mouse-Responsive Gradient Using Just CSS and Math](<https://devfeed.tech/articles/how-i-built-a-mouse-responsive-gradient-using-just-css-and-math-130187.md>)

Original publisher: [Read original article](<https://hackernoon.com/how-i-built-a-mouse-responsive-gradient-using-just-css-and-math?source=rss>)

Author: sammii

Published: 2026-11-12T07:04:16Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [web animation](<https://devfeed.tech/topics/web-animation.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [web graphics](<https://devfeed.tech/topics/web-graphics.md>)

Tags: [abstraction](<https://devfeed.tech/tags/abstraction.md>), [accelerometer](<https://devfeed.tech/tags/accelerometer.md>), [animation](<https://devfeed.tech/tags/animation.md>), [api](<https://devfeed.tech/tags/api.md>), [arithmetic](<https://devfeed.tech/tags/arithmetic.md>), [background](<https://devfeed.tech/tags/background.md>), [browser](<https://devfeed.tech/tags/browser.md>), [canvas](<https://devfeed.tech/tags/canvas.md>), [change](<https://devfeed.tech/tags/change.md>), [color](<https://devfeed.tech/tags/color.md>), [css](<https://devfeed.tech/tags/css.md>), [css-animation](<https://devfeed.tech/tags/css-animation.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [game-development](<https://devfeed.tech/tags/game-development.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [investing](<https://devfeed.tech/tags/investing.md>), [logo](<https://devfeed.tech/tags/logo.md>), [masks](<https://devfeed.tech/tags/masks.md>), [math](<https://devfeed.tech/tags/math.md>), [mouse](<https://devfeed.tech/tags/mouse.md>), [mouse-driven-animation](<https://devfeed.tech/tags/mouse-driven-animation.md>), [portfolio](<https://devfeed.tech/tags/portfolio.md>), [responsive](<https://devfeed.tech/tags/responsive.md>), [rgb-color-manipulation](<https://devfeed.tech/tags/rgb-color-manipulation.md>), [tracking](<https://devfeed.tech/tags/tracking.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

The portfolio logo's colors are generated by a TypeScript function that maps cursor percentages to RGB values, rotates those values across three radial gradients, and uses a CSS mask to show the gradient through text. Scrolling supplies different sine and cosine wave values to the same function; linear interpolation at 20% per animation frame smooths the changing inputs. When scrolling and pointer movement overlap, scrolling takes priority until 500 ms after the last scroll event, then mouse control resumes. The described effect uses CSS gradients, masking, and arithmetic without an animation library, canvas, or WebGL.

### Source excerpt

Build a color-changing portfolio logo using CSS masks, radial gradients, TypeScript, and mouse-tracking techniques.

## Sanitizing untrusted HTML

DevFeed: [Sanitizing untrusted HTML](<https://devfeed.tech/articles/sanitizing-untrusted-html-129400.md>)

Original publisher: [Read original article](<https://specification.website/spec/security/sanitizer-api/>)

Author: Joost de Valk

Published: 2026-11-11T00:00:00Z

Content type: tutorial

Language: en

Sources: [The Website Specification](<https://devfeed.tech/sources/the-website-specification.md>)

Topics: [HTML](<https://devfeed.tech/topics/html.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [api](<https://devfeed.tech/tags/api.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [browser](<https://devfeed.tech/tags/browser.md>), [call-graph](<https://devfeed.tech/tags/call-graph.md>), [cms](<https://devfeed.tech/tags/cms.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [content](<https://devfeed.tech/tags/content.md>), [context](<https://devfeed.tech/tags/context.md>), [cross-site-scripting](<https://devfeed.tech/tags/cross-site-scripting.md>), [csp](<https://devfeed.tech/tags/csp.md>), [custom](<https://devfeed.tech/tags/custom.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [highlighting](<https://devfeed.tech/tags/highlighting.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [html](<https://devfeed.tech/tags/html.md>), [implement](<https://devfeed.tech/tags/implement.md>), [library](<https://devfeed.tech/tags/library.md>), [native](<https://devfeed.tech/tags/native.md>), [recommended](<https://devfeed.tech/tags/recommended.md>), [sanitizer](<https://devfeed.tech/tags/sanitizer.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

Sanitize untrusted HTML at each insertion point so legitimate formatting can render while executable or hostile markup is removed. Where available, the native `setHTML()` API sanitizes and inserts using a default configuration; an explicit `Sanitizer` allowlist can preserve needed elements or attributes. The excerpt says the API shipped in Firefox 148 and Chrome/Edge 146 in early 2026, but not Safari, so it recommends maintained DOMPurify elsewhere, loaded from your own origin or with Subresource Integrity from a CDN. With Trusted Types, a helper can return `TrustedHTML` only after sanitization, though `setHTML()` itself bypasses Trusted Types. The excerpt also recommends server-side sanitization for other rendering contexts, reviewing configuration changes, and testing XSS and mutation-XSS payloads. HTML sanitization does not make values safe for other contexts such as `href` or JSON-LD.

### Source excerpt

Any HTML you did not author must be sanitized before it reaches the DOM: with the native Sanitizer API (setHTML and explicit Sanitizer configurations) where available, and a maintained library such as DOMPurify everywhere else.

## CSS Optimization: Is Using Declarations Just Once (UDJO) Still Effective Today?

DevFeed: [CSS Optimization: Is Using Declarations Just Once (UDJO) Still Effective Today?](<https://devfeed.tech/articles/css-optimization-is-using-declarations-just-once-udjo-still-effective-today-129310.md>)

Original publisher: [Read original article](<https://css-tricks.com/css-using-declarations-just-once/>)

Author: Jens Oliver Meiert

Published: 2026-11-10T16:42:18Z

Content type: article

Language: en

Sources: [CSS-Tricks](<https://devfeed.tech/sources/css-tricks.md>)

Topics: [performance-optimization](<https://devfeed.tech/topics/performance-optimization.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Front end](<https://devfeed.tech/topics/frontend.md>)

Tags: [articles](<https://devfeed.tech/tags/articles.md>), [css](<https://devfeed.tech/tags/css.md>), [dry](<https://devfeed.tech/tags/dry.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [performance](<https://devfeed.tech/tags/performance.md>), [selectors](<https://devfeed.tech/tags/selectors.md>)

### AI overview

UDJO can reduce CSS declaration repetition, but deduplication does not automatically shrink files. In the article's samples, CSS Dedup found safe repetition to remove on every site; reducing it increased file size in 18 of 20 general sites and 5 of 10 web professional sites, while selectively deduplicating cases that saved bytes reduced file size in all sampled cases. Results depend on selector length and whether combining selectors remains maintainable. The analysis measured file-size changes before compression, so it does not establish savings after gzip or Brotli. The author concludes UDJO remains useful when tooling is configured to make safe, size-reducing changes, while noting that broader sampling and compression testing would be valuable.

### Source excerpt

Is the technique inspired by the DRY principle by identifying and reducing (if not eliminating) CSS declaration repetition still a relevant optimization strategy? CSS Optimization: Is Using Declarations Just Once (UDJO) Still Effective Today? originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.

## New in Symfony 8.2: AssetMapper Improvements

DevFeed: [New in Symfony 8.2: AssetMapper Improvements](<https://devfeed.tech/articles/new-in-symfony-8-2-assetmapper-improvements-127158.md>)

Original publisher: [Read original article](<https://symfony.com/blog/new-in-symfony-8-2-assetmapper-improvements>)

Author: Javier Eguiluz

Published: 2026-11-10T08:14:00Z

Content type: release

Language: en

Sources: [Symfony](<https://devfeed.tech/sources/symfony-blog.md>)

Topics: [Symfony](<https://devfeed.tech/topics/symfony.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [frontend security](<https://devfeed.tech/topics/frontend-security.md>), [npm packages](<https://devfeed.tech/topics/npm-packages.md>), [import](<https://devfeed.tech/topics/import.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>)

Tags: [asset](<https://devfeed.tech/tags/asset.md>), [asset-map](<https://devfeed.tech/tags/asset-map.md>), [assets](<https://devfeed.tech/tags/assets.md>), [css](<https://devfeed.tech/tags/css.md>), [development](<https://devfeed.tech/tags/development.md>), [directory](<https://devfeed.tech/tags/directory.md>), [esm](<https://devfeed.tech/tags/esm.md>), [feature](<https://devfeed.tech/tags/feature.md>), [files](<https://devfeed.tech/tags/files.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [map](<https://devfeed.tech/tags/map.md>), [maps](<https://devfeed.tech/tags/maps.md>), [security](<https://devfeed.tech/tags/security.md>), [symfony](<https://devfeed.tech/tags/symfony.md>), [third-party](<https://devfeed.tech/tags/third-party.md>)

### AI overview

Symfony 8.2 adds AssetMapper controls for package integrity, version timing, import-map exposure and compiled metadata. Configurable SHA-256, SHA-384 or SHA-512 hashes add SRI attributes to rendered resources. `minimum_release_age` makes `importmap:update` hold back newer releases, prereleases and versions above `latest`; `importmap:outdated` lists withheld versions. It does not restrict `importmap:require`, and checking publication dates requires downloading larger npm metadata. The new `--no-esm` option fetches a package file as published, but requires its in-package path; relative imports are fetched while bare imports must still be required separately. In debug mode, AssetMapper now ignores compiled metadata so source edits are used. Setting `importmap_entries: reachable` limits rendered entries to those reachable through static and dynamic imports, but cannot trace variable dynamic imports and is disabled by default. `metadata_dir` can move generated metadata outside the public assets directory; its default remains unchanged.

### Source excerpt

AssetMapper lets you use modern JavaScript and CSS without a build step, relying on native browser features like import maps. Symfony 8.2 improves it in several areas: security of third-party packages, control over what the import map exposes, and a smoother...

## How to Build an Accessible Gold Value Calculator in Vanilla JavaScript

DevFeed: [How to Build an Accessible Gold Value Calculator in Vanilla JavaScript](<https://devfeed.tech/articles/how-to-build-an-accessible-gold-value-calculator-in-vanilla-javascript-126631.md>)

Original publisher: [Read original article](<https://www.sitepoint.com/how-to-build-an-accessible-gold-value-calculator-in-vanilla-javascript/>)

Author: M Ahmad Shahmir

Published: 2026-11-10T03:47:01Z

Content type: tutorial

Language: en

Sources: [SitePoint](<https://devfeed.tech/sources/sitepoint.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Web Content Accessibility Guidelines](<https://devfeed.tech/topics/web-content-accessibility-guidelines.md>), [Web](<https://devfeed.tech/topics/web.md>), [aria](<https://devfeed.tech/topics/aria.md>), [Integration testing](<https://devfeed.tech/topics/integration-testing.md>)

Tags: [accessible](<https://devfeed.tech/tags/accessible.md>), [build](<https://devfeed.tech/tags/build.md>), [calculator](<https://devfeed.tech/tags/calculator.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [html-css](<https://devfeed.tech/tags/html-css.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [value](<https://devfeed.tech/tags/value.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

The tutorial builds a gold value calculator that converts grams, pennyweight, or troy ounces to grams and computes pure gold weight, melt value, and an optional buyer payout. It uses a pure JavaScript calculation and validation module, accessible labeled controls with a live output, and URL parameters to restore and share inputs. For a prefilling spot price, it puts the provider API key behind a Node.js/Express endpoint with a five-minute cache, three-second timeout, and stale-price fallback; users can edit the price. The text distinguishes melt value from an actual buyer offer and recommends labeling results as estimates. It also shows tests with Node's built-in runner. A server is optional if users enter the spot price themselves or a scheduled job supplies static JSON.

### Source excerpt

null Continue reading How to Build an Accessible Gold Value Calculator in Vanilla JavaScript on SitePoint.

## CSS-Tricks, Version 20

DevFeed: [CSS-Tricks, Version 20](<https://devfeed.tech/articles/css-tricks-version-20-126485.md>)

Original publisher: [Read original article](<https://css-tricks.com/css-tricks-version-20/>)

Author: Geoff Graham

Published: 2026-11-09T15:49:48Z

Content type: article

Language: en

Sources: [CSS-Tricks](<https://devfeed.tech/sources/css-tricks.md>)

Topics: [Front end](<https://devfeed.tech/topics/frontend.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [performance-optimization](<https://devfeed.tech/topics/performance-optimization.md>), [Sass](<https://devfeed.tech/topics/sass.md>), [Dark Mode](<https://devfeed.tech/topics/dark-mode.md>), [web graphics](<https://devfeed.tech/topics/web-graphics.md>), [web animation](<https://devfeed.tech/topics/web-animation.md>), [SVG animations in CSS](<https://devfeed.tech/topics/svg-animations-in-css.md>), [view transitions](<https://devfeed.tech/topics/view-transitions.md>), [Media Queries](<https://devfeed.tech/topics/media-queries.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [admin](<https://devfeed.tech/tags/admin.md>), [ads](<https://devfeed.tech/tags/ads.md>), [ai](<https://devfeed.tech/tags/ai.md>), [animation](<https://devfeed.tech/tags/animation.md>), [articles](<https://devfeed.tech/tags/articles.md>), [background](<https://devfeed.tech/tags/background.md>), [best-of](<https://devfeed.tech/tags/best-of.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [blob](<https://devfeed.tech/tags/blob.md>), [border-shape](<https://devfeed.tech/tags/border-shape.md>), [css](<https://devfeed.tech/tags/css.md>), [css-tricks](<https://devfeed.tech/tags/css-tricks.md>), [redesign](<https://devfeed.tech/tags/redesign.md>)

### AI overview

CSS-Tricks v20 is an iterative redesign after five years, combining visible interface changes with cleanup and modernization. Removing unused scripts reduced compiled JavaScript from 151.6 KB to 133.8 KB, while retiring the archived forum and bbPress removed about 400 MB from the database. The update adds Prettier and Stylelint checks, a GitHub Actions build check, and filemtime-based cache busting; it also reorganizes Sass and introduces shared design tokens, more consistent accessible link styles, and revised forms and tables. A single toggle supports system, light, and dark themes, though the main article content remains white in both modes. New Almanac and Guides indexes improve navigation. Some homepage blob effects depend on browser support for border-shape and random(). Lighthouse results were roughly consistent for performance, with improved accessibility and best-practice scores and lower total page weight; the author notes limits to the measurements and to what they can control.

### Source excerpt

Things look a little different around here? I hope so because we just pushed a site redesign! Here's everything new with the 20th(!!) version of CSS-Tricks. CSS-Tricks, Version 20 originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.

## How to Make a Triangle in CSS (3 Ways)

DevFeed: [How to Make a Triangle in CSS (3 Ways)](<https://devfeed.tech/articles/how-to-make-a-triangle-in-css-3-ways-122992.md>)

Original publisher: [Read original article](<https://markodenic.com/css-triangle/>)

Author: Marko

Published: 2026-11-09T09:00:00Z

Content type: tutorial

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [arrow](<https://devfeed.tech/tags/arrow.md>), [border](<https://devfeed.tech/tags/border.md>), [clip-path](<https://devfeed.tech/tags/clip-path.md>), [css](<https://devfeed.tech/tags/css.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [speech](<https://devfeed.tech/tags/speech.md>), [svg](<https://devfeed.tech/tags/svg.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

Use `clip-path` as the general-purpose CSS triangle method: define a box and cut it with a three-point `polygon()`. Changing the points makes triangles point in different directions; `aspect-ratio: 1 / 0.866` gives an equilateral triangle. For small, solid-color tooltip or dropdown arrows, the border trick makes a triangle from a zero-sized box with one colored border and adjacent transparent borders; the triangle points away from the colored side. A rotated square can provide an arrow with a real border or shadow, while a hard-stop linear gradient creates a right-triangle background decoration. `clip-path` and the border trick do not retain a triangle border; for that, the excerpt suggests stacking triangles, using a rotated square, or using SVG. For a shadow that follows the visible shape, use `filter: drop-shadow()` rather than `box-shadow`. The excerpt recommends SVG for icons and complex shapes.

### Source excerpt

Make triangles in pure CSS with clip-path, the classic border trick, or gradients. Triangles pointing in every direction, equilateral triangles, and tooltip and dropdown arrows.

## What AI Gets Wrong About the Front End, and Why You Still Need to Know

DevFeed: [What AI Gets Wrong About the Front End, and Why You Still Need to Know](<https://devfeed.tech/articles/what-ai-gets-wrong-about-the-front-end-and-why-you-still-need-to-know-123750.md>)

Original publisher: [Read original article](<https://www.sitepoint.com/what-ai-gets-wrong-about-the-front-end-and-why-you-still-need-to-know/>)

Author: ashokyadav1231

Published: 2026-11-08T22:49:50Z

Content type: article

Language: en

Sources: [SitePoint](<https://devfeed.tech/sources/sitepoint.md>)

Topics: [Front end](<https://devfeed.tech/topics/frontend.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [Blazor](<https://devfeed.tech/topics/blazor.md>)

Tags: [acceptance](<https://devfeed.tech/tags/acceptance.md>), [activation](<https://devfeed.tech/tags/activation.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-coding-assistant](<https://devfeed.tech/tags/ai-coding-assistant.md>), [aria](<https://devfeed.tech/tags/aria.md>), [assistive-technology](<https://devfeed.tech/tags/assistive-technology.md>), [automated](<https://devfeed.tech/tags/automated.md>), [browser](<https://devfeed.tech/tags/browser.md>), [bug](<https://devfeed.tech/tags/bug.md>), [button](<https://devfeed.tech/tags/button.md>), [buttons](<https://devfeed.tech/tags/buttons.md>), [checkout](<https://devfeed.tech/tags/checkout.md>), [coding-assistant](<https://devfeed.tech/tags/coding-assistant.md>), [component](<https://devfeed.tech/tags/component.md>), [css](<https://devfeed.tech/tags/css.md>), [focus](<https://devfeed.tech/tags/focus.md>), [form](<https://devfeed.tech/tags/form.md>), [front-end](<https://devfeed.tech/tags/front-end.md>), [front-end-development](<https://devfeed.tech/tags/front-end-development.md>), [header](<https://devfeed.tech/tags/header.md>)

### AI overview

A product carousel can look finished in a mouse demo yet remain unusable by keyboard if its arrows are clickable divs. The excerpt shows a React version using native Previous and Next buttons, which provide Tab, Enter, and Space operation; focus stays on the activated button, a status message announces the new product and position, and only the current product link enters the Tab sequence. It recommends giving AI explicit, testable acceptance criteria, including wraparound behavior, then checking the integrated page with a keyboard and screen reader because styles or surrounding components can affect the experience. The same review approach applies to form failures, longer translated labels, and slow-loading images: specify the condition, then reproduce it yourself.

### Source excerpt

null Continue reading What AI Gets Wrong About the Front End, and Why You Still Need to Know on SitePoint.

## 26 CSS Tips and Tricks for Modern Web Development

DevFeed: [26 CSS Tips and Tricks for Modern Web Development](<https://devfeed.tech/articles/26-css-tips-and-tricks-for-modern-web-development-122674.md>)

Original publisher: [Read original article](<https://hackernoon.com/26-css-tips-and-tricks-for-modern-web-development?source=rss>)

Author: Marko Denic

Published: 2026-11-08T19:40:54Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [programming-tips](<https://devfeed.tech/topics/programming-tips.md>), [selectors](<https://devfeed.tech/topics/selectors.md>), [web animation](<https://devfeed.tech/topics/web-animation.md>), [Responsive Design](<https://devfeed.tech/topics/responsive-design.md>), [web graphics](<https://devfeed.tech/topics/web-graphics.md>)

Tags: [animations](<https://devfeed.tech/tags/animations.md>), [css](<https://devfeed.tech/tags/css.md>), [css-animations](<https://devfeed.tech/tags/css-animations.md>), [css-grid](<https://devfeed.tech/tags/css-grid.md>), [css-selectors](<https://devfeed.tech/tags/css-selectors.md>), [development](<https://devfeed.tech/tags/development.md>), [effects](<https://devfeed.tech/tags/effects.md>), [explore](<https://devfeed.tech/tags/explore.md>), [flexbox](<https://devfeed.tech/tags/flexbox.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [frontend-development](<https://devfeed.tech/tags/frontend-development.md>), [hackernoon-top-story](<https://devfeed.tech/tags/hackernoon-top-story.md>), [layouts](<https://devfeed.tech/tags/layouts.md>), [modern](<https://devfeed.tech/tags/modern.md>), [modern-web-development](<https://devfeed.tech/tags/modern-web-development.md>), [other](<https://devfeed.tech/tags/other.md>), [practical](<https://devfeed.tech/tags/practical.md>), [responsive](<https://devfeed.tech/tags/responsive.md>), [responsive-design](<https://devfeed.tech/tags/responsive-design.md>), [scroll](<https://devfeed.tech/tags/scroll.md>), [selectors](<https://devfeed.tech/tags/selectors.md>), [tips](<https://devfeed.tech/tags/tips.md>), [tips-and-tricks](<https://devfeed.tech/tags/tips-and-tricks.md>), [tricks](<https://devfeed.tech/tags/tricks.md>), [web](<https://devfeed.tech/tags/web.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

The excerpt collects practical CSS patterns for layout, text, interaction and scrolling. It shows centering with Flexbox, smooth scrolling with `scroll-behavior`, sticky headers with `position: sticky` and `top`, and scroll snapping. For text, it gives single-line ellipsis requirements and a multi-line `-webkit-line-clamp` pattern; responsive headings can use `clamp()`. Other examples include `drop-shadow()` for transparent image shapes, `:target` for a CSS-only modal, `attr()` for tooltips, and `:has()` for selecting elements based on their contents. It also notes useful constraints: sticky positioning is limited to its parent and can be disrupted by ancestor overflow; ellipsis needs a constrained width; and `resize` requires overflow other than `visible`. Scrollbar styling differs by browser: standard properties are listed for Chrome, Edge and Firefox, while Safari uses `::-webkit-scrollbar` pseudo-elements. The source presents these as current-browser techniques, with a prefix for line clamping.

### Source excerpt

Explore 26 practical CSS tips for animations, layouts, scroll effects, selectors, responsive typography, and other frontend development tasks.

## Automating Shadow DOM in Selenium WebDriver

DevFeed: [Automating Shadow DOM in Selenium WebDriver](<https://devfeed.tech/articles/automating-shadow-dom-in-selenium-webdriver-122666.md>)

Original publisher: [Read original article](<https://www.baeldung.com/selenium-webdriver-automate-shadow-dom>)

Author: baeldung

Published: 2026-11-08T13:20:05Z

Content type: tutorial

Language: en

Sources: [Baeldung](<https://devfeed.tech/sources/baeldung.md>)

Topics: [Selenium](<https://devfeed.tech/topics/selenium.md>), [Document Object Model (DOM)](<https://devfeed.tech/topics/dom.md>), [webDriver](<https://devfeed.tech/topics/webdriver.md>), [Browser Automation](<https://devfeed.tech/topics/browser-automation.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>), [ui-testing](<https://devfeed.tech/topics/ui-testing.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [selectors](<https://devfeed.tech/topics/selectors.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [geckodriver](<https://devfeed.tech/topics/geckodriver.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [api](<https://devfeed.tech/tags/api.md>), [automation](<https://devfeed.tech/tags/automation.md>), [automation-tools](<https://devfeed.tech/tags/automation-tools.md>), [boundary](<https://devfeed.tech/tags/boundary.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [components](<https://devfeed.tech/tags/components.md>), [elements](<https://devfeed.tech/tags/elements.md>), [java-web](<https://devfeed.tech/tags/java-web.md>), [java-web-testing-javascript-selenium](<https://devfeed.tech/tags/java-web-testing-javascript-selenium.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [root](<https://devfeed.tech/tags/root.md>), [selenium](<https://devfeed.tech/tags/selenium.md>), [testing](<https://devfeed.tech/tags/testing.md>), [webdriver](<https://devfeed.tech/tags/webdriver.md>)

### AI overview

Selenium 4 accesses shadow DOM by locating a shadow host, calling getShadowRoot(), then querying within the returned SearchContext; ordinary driver.findElement() cannot cross the boundary, and XPath is unsupported for shadow roots and their children in the described ChromeDriver and GeckoDriver implementations. For older Selenium, JavaScriptExecutor can retrieve the root or target elements, including through nested roots, but longer scripts can be harder to diagnose, so the article favors reliability over request-count or speed gains. Behavior also varies by driver for closed roots: ChromeDriver allowed queries but reported elements as non-interactable, while GeckoDriver allowed access and interaction in the reported experiments. Keyboard navigation via Actions is offered as a potentially flaky workaround when direct closed-root access is unavailable. The example waits for page navigation but does not validate search results; Google may show a bot check.

### Source excerpt

Learn how to access shadow DOM elements with Selenium, understand shadow-root boundaries, and compare native WebDriver support with JavaScript-based approaches. The post Automating Shadow DOM in Selenium WebDriver first appeared on Baeldung.

## Make your stats count up with zero JavaScript

DevFeed: [Make your stats count up with zero JavaScript](<https://devfeed.tech/articles/make-your-stats-count-up-with-zero-javascript-122216.md>)

Original publisher: [Read original article](<https://markodenic.tech/make-your-stats-count-up-with-zero-javascript/>)

Author: Marko

Published: 2026-11-07T11:05:15Z

Content type: tutorial

Language: en

Sources: [Marko Denic Tech](<https://devfeed.tech/sources/marko-denic-tech.md>)

Topics: [Web Development](<https://devfeed.tech/topics/web-development.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>)

Tags: [accessible](<https://devfeed.tech/tags/accessible.md>), [agent-memory](<https://devfeed.tech/tags/agent-memory.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [alt-text](<https://devfeed.tech/tags/alt-text.md>), [animate](<https://devfeed.tech/tags/animate.md>), [animation](<https://devfeed.tech/tags/animation.md>), [blog-for-developers](<https://devfeed.tech/tags/blog-for-developers.md>), [browser](<https://devfeed.tech/tags/browser.md>), [browser-support](<https://devfeed.tech/tags/browser-support.md>), [build-faster](<https://devfeed.tech/tags/build-faster.md>), [code-productivity](<https://devfeed.tech/tags/code-productivity.md>), [code-smarter](<https://devfeed.tech/tags/code-smarter.md>), [content-monetization](<https://devfeed.tech/tags/content-monetization.md>), [css](<https://devfeed.tech/tags/css.md>), [css-animation](<https://devfeed.tech/tags/css-animation.md>), [css-performance](<https://devfeed.tech/tags/css-performance.md>), [custom](<https://devfeed.tech/tags/custom.md>), [developer-growth](<https://devfeed.tech/tags/developer-growth.md>), [developer-resources](<https://devfeed.tech/tags/developer-resources.md>), [email-newsletter-for-coders](<https://devfeed.tech/tags/email-newsletter-for-coders.md>), [front-end-development](<https://devfeed.tech/tags/front-end-development.md>), [github-profile-automation](<https://devfeed.tech/tags/github-profile-automation.md>), [html-tips](<https://devfeed.tech/tags/html-tips.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [javascript-tricks](<https://devfeed.tech/tags/javascript-tricks.md>), [learn-to-code](<https://devfeed.tech/tags/learn-to-code.md>), [library](<https://devfeed.tech/tags/library.md>), [numbers](<https://devfeed.tech/tags/numbers.md>), [property](<https://devfeed.tech/tags/property.md>), [responsive-design-tips](<https://devfeed.tech/tags/responsive-design-tips.md>), [scroll](<https://devfeed.tech/tags/scroll.md>), [static](<https://devfeed.tech/tags/static.md>), [stats](<https://devfeed.tech/tags/stats.md>), [ui](<https://devfeed.tech/tags/ui.md>), [web-dev-newsletter](<https://devfeed.tech/tags/web-dev-newsletter.md>), [web-development](<https://devfeed.tech/tags/web-development.md>), [web-development-tips](<https://devfeed.tech/tags/web-development-tips.md>), [weekly-dev-tips](<https://devfeed.tech/tags/weekly-dev-tips.md>), [workflow-optimization](<https://devfeed.tech/tags/workflow-optimization.md>), [zero](<https://devfeed.tech/tags/zero.md>)

### AI overview

CSS can animate whole-number stats from zero without a counter library or a JavaScript animation loop: register `--num` with `@property` using `syntax: '<integer>'`, animate it toward a per-element `--to` value, and display it through `counter()`. The example keeps the real number in the HTML for screen readers, search engines, and visitors without CSS; empty generated-content alt text prevents reading duplicate animated digits. A reduced-motion rule shortens the animation so the value still reaches its endpoint. For stats below the fold, the article pauses the CSS animation and uses an `IntersectionObserver` to start it when the container becomes visible. The approach prints integers without thousands separators; decimal values need a workaround or can remain static. The excerpt says `@property` works in Chrome, Edge, Safari, and Firefox, while older browsers show the final number without animation.

### Source excerpt

Static numbers are easy to scroll past. Register one custom property as an integer and CSS counts your stats up from zero, no library and no JavaScript loop.

## How to Build a PDF Storyboard Generator Using JavaScript

DevFeed: [How to Build a PDF Storyboard Generator Using JavaScript](<https://devfeed.tech/articles/how-to-build-a-pdf-storyboard-generator-using-javascript-121729.md>)

Original publisher: [Read original article](<https://www.freecodecamp.org/news/build-pdf-storyboard-generator-javascript/>)

Author: Bhavin Sheth

Published: 2026-11-06T19:41:34Z

Content type: tutorial

Language: en

Sources: [Free Code Camp](<https://devfeed.tech/sources/freecodecamp-programming-tutorials-python-javascript-git-more.md>)

Topics: [pdf](<https://devfeed.tech/topics/pdf.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [but](<https://devfeed.tech/tags/but.md>), [can](<https://devfeed.tech/tags/can.md>), [files](<https://devfeed.tech/tags/files.md>), [generator](<https://devfeed.tech/tags/generator.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [materials](<https://devfeed.tech/tags/materials.md>), [other](<https://devfeed.tech/tags/other.md>), [pages](<https://devfeed.tech/tags/pages.md>), [pdf](<https://devfeed.tech/tags/pdf.md>), [presentations](<https://devfeed.tech/tags/presentations.md>), [reports](<https://devfeed.tech/tags/reports.md>), [scripts](<https://devfeed.tech/tags/scripts.md>), [share](<https://devfeed.tech/tags/share.md>), [storyboard](<https://devfeed.tech/tags/storyboard.md>), [take](<https://devfeed.tech/tags/take.md>), [time](<https://devfeed.tech/tags/time.md>), [used](<https://devfeed.tech/tags/used.md>), [using](<https://devfeed.tech/tags/using.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

The tutorial describes a browser-based JavaScript tool that arranges selected PDF pages into printable storyboard sheets, with custom ordering, captions, layout controls, live preview, and PDF, PNG, or ZIP export. PDF.js loads and renders source pages and extracts selectable text; PDF-lib creates the storyboard PDF and can preserve original pages as vectors when embedding is available. Tesseract.js is an optional OCR path for scanned pages, loading English data on request; recognized captions need review because OCR can be inaccurate. The tool processes the selected PDF locally in the browser. Users can fill only empty captions from extracted text, adjust paper size and panel layout, and preview sheets before export. The excerpt also describes raster fallback for password-protected PDFs that cannot use the regular vector embedding path.

### Source excerpt

PDF files are commonly used to share presentations, scripts, reports, lesson materials, comic pages, and other visual documents. But reviewing a long PDF page by page can take time, especially when so

## RSS Club: CSS-Tricks Redesign Preview

DevFeed: [RSS Club: CSS-Tricks Redesign Preview](<https://devfeed.tech/articles/rss-club-css-tricks-redesign-preview-122101.md>)

Original publisher: [Read original article](<https://css-tricks.com/css-tricks-redesign-preview/>)

Author: Geoff Graham

Published: 2026-11-06T18:52:59Z

Content type: release

Language: en

Sources: [CSS-Tricks](<https://devfeed.tech/sources/css-tricks.md>)

Topics: [Front end](<https://devfeed.tech/topics/frontend.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [layout](<https://devfeed.tech/topics/layout.md>), [Sass](<https://devfeed.tech/topics/sass.md>), [performance-optimization](<https://devfeed.tech/topics/performance-optimization.md>), [Font](<https://devfeed.tech/topics/font.md>)

Tags: [admin](<https://devfeed.tech/tags/admin.md>), [audit](<https://devfeed.tech/tags/audit.md>), [cache](<https://devfeed.tech/tags/cache.md>), [claude](<https://devfeed.tech/tags/claude.md>), [colors](<https://devfeed.tech/tags/colors.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [css](<https://devfeed.tech/tags/css.md>), [css-tricks](<https://devfeed.tech/tags/css-tricks.md>), [dark-mode](<https://devfeed.tech/tags/dark-mode.md>), [design](<https://devfeed.tech/tags/design.md>), [dev](<https://devfeed.tech/tags/dev.md>), [front-end](<https://devfeed.tech/tags/front-end.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [guides](<https://devfeed.tech/tags/guides.md>), [index](<https://devfeed.tech/tags/index.md>), [light](<https://devfeed.tech/tags/light.md>), [preview](<https://devfeed.tech/tags/preview.md>), [redesign](<https://devfeed.tech/tags/redesign.md>), [rss](<https://devfeed.tech/tags/rss.md>), [rss-club](<https://devfeed.tech/tags/rss-club.md>)

### AI overview

The CSS-Tricks redesign updates the theme's tooling, styles, navigation and presentation. The author says the old theme was excavated to remove legacy remnants, and the development workflow now uses Prettier, Stylelint, GitHub Actions and automatic cache-busting. A Sass rewrite reduced CSS from 180 KB (31.7 KB) to 169 KB (24.6 KB zipped). The redesign adds semantic design tokens, a creamy light theme toggle, a "Jawbreaker" texture, redesigned Almanac and Guides indexes, revised author pages, and WordPress admin styles that echo the front end. The author also used Claude to help audit the theme against recent WordPress security release notes and identify hardening opportunities. This is a preview; the author says a fuller write-up and side-by-side comparison will follow.

### Source excerpt

Hey you wonderful RSS subscribers! We just soft-pushed a site redesign and wanted to give ya'll the first heads-up. A full write-up is coming but here are the high-level details. RSS Club: CSS-Tricks Redesign Preview originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.

[Next page](<https://devfeed.tech/topics/frontend.md?cursor=WyIyMDI2LTExLTA2VDE4OjUyOjU5KzAwOjAwIiwgIjQ4ZTI0ZWE1LWY2N2QtNGQzMS04NjA2LWY1NTExN2EwMjY3YiJd>)