KooFE Frontend Team
Author

KooFE Frontend Team

Follow the latest frontend updates

119
Articles
0
Likes
633
Views
0
Comments
Recent Articles

Latest from KooFE Frontend Team

100 recent articles max
KooFE Frontend Team
KooFE Frontend Team
Jan 21, 2022 · Frontend Development

Why Playwright Is Becoming the Top Choice for Cross‑Browser UI Testing

Playwright, Microsoft’s open‑source end‑to‑end UI testing framework, supports all major browsers, multiple programming languages, isolated contexts, auto‑waiting, and powerful selectors, making it a fast‑growing alternative to Selenium for developers seeking reliable, cross‑browser automation.

JavaScriptPlaywrightPython
0 likes · 6 min read
Why Playwright Is Becoming the Top Choice for Cross‑Browser UI Testing
KooFE Frontend Team
KooFE Frontend Team
Jan 3, 2022 · Frontend Development

How to Write Defensive CSS: Prevent Scroll Chaining, Variable Fallbacks, and Layout Breakage

This article presents practical defensive CSS techniques—including using overscroll-behavior to stop scroll chaining, var() fallbacks for custom properties, min‑width/min‑height instead of fixed dimensions, proper background-repeat handling, and vertical media queries—to create more robust, responsive web layouts.

CSSLayoutdefensive CSS
0 likes · 6 min read
How to Write Defensive CSS: Prevent Scroll Chaining, Variable Fallbacks, and Layout Breakage
KooFE Frontend Team
KooFE Frontend Team
Dec 12, 2021 · Frontend Development

Mastering a Modern CSS Reset: 11 Essential Rules Explained

This tutorial walks through a custom CSS reset, explaining each of the eleven concise rules—including box‑sizing, margin removal, height handling, line‑height, font smoothing, media defaults, form inheritance, overflow handling, and root isolation—while providing clear code examples and visual illustrations to improve both developer experience and user accessibility.

Box-sizingCSSCSS Reset
0 likes · 18 min read
Mastering a Modern CSS Reset: 11 Essential Rules Explained
KooFE Frontend Team
KooFE Frontend Team
Nov 28, 2021 · Frontend Development

How Konva.js Uses Random Colors for Precise Canvas Hit Detection

Konva.js detects whether a point lies inside a shape by assigning each shape a unique random color key, rendering a hidden hitCanvas with these colors, and then reading the pixel color at the click position to identify the corresponding shape, supporting up to 16.7 million objects.

CanvasJavaScriptKonva.js
0 likes · 5 min read
How Konva.js Uses Random Colors for Precise Canvas Hit Detection
KooFE Frontend Team
KooFE Frontend Team
Oct 28, 2021 · Frontend Development

How to Detect Canvas Shape Clicks Using Pixel Color and Transparency

By leveraging pixel color and alpha values, this guide explains how to determine whether a user click falls inside a Canvas shape, compares it with traditional methods like crossing number and winding number, and provides a practical implementation using Create.js with sample code.

Create.jsJavaScripthit testing
0 likes · 5 min read
How to Detect Canvas Shape Clicks Using Pixel Color and Transparency
KooFE Frontend Team
KooFE Frontend Team
Oct 27, 2021 · Frontend Development

Detect Clicks Inside Polygons on Canvas with Crossing & Winding Numbers

Learn how to capture click events on an HTML5 Canvas, compute the click coordinates, and determine whether the point lies inside a polygon using both the Crossing Number (even‑odd) method and the more robust Winding Number algorithm, complete with JavaScript code examples.

CanvasPoint-in-Polygoncrossing-number
0 likes · 7 min read
Detect Clicks Inside Polygons on Canvas with Crossing & Winding Numbers