20 个仓库
Techniques for placing elements at precise pixel coordinates to simulate long scrollable containers.
Distinct from Element Positioning: Focuses specifically on the absolute pixel-offset strategy used in virtualization, rather than general coordinate updates.
Explore 20 awesome GitHub repositories matching user interface & experience · Absolute Positioning. Refine with filters or upvote what's useful.
react-virtualized is a library of components for rendering massive lists and tables by drawing only the elements visible in the viewport. It provides specialized layout managers including a windowed grid component and a dynamic height list manager. The project includes a masonry layout engine for packing items of varying heights and widths, as well as an infinite scroll interface for incrementally fetching and appending data. The library covers a broad range of virtualization capabilities, including frozen grid elements, reverse list rendering, and synchronized viewport scrolling. It also su
Implements absolute positioning of visible elements to simulate a full-length scrollable list.
React Grid Layout is a draggable and resizable grid system for React that organizes components into a coordinate-based layout. It functions as a responsive layout manager and a serialized grid state engine, providing the tools necessary to create user-customizable workspaces where interface elements can be moved and resized. The system distinguishes itself through breakpoint-driven layout mapping, which adjusts grid configurations based on container width. It utilizes a serialized state model to convert spatial positions and dimensions into data formats for saving and restoring user layouts,
Uses absolute coordinates and CSS transforms to place grid elements precisely within a virtual unit system.
KaTeX is a typesetting library and web math renderer that transforms TeX and LaTeX mathematical notation into high-quality HTML and CSS for web browsers. It functions as a math notation parser and LaTeX to HTML converter, capable of operating as both a client-side library and a server-side math renderer to generate static HTML expressions. The project supports a wide range of specialized mathematical rendering, including chemical equation rendering, Bra-ket notation for quantum mechanics, and mathematical logic typesetting. It provides comprehensive controls for structural layouts such as mat
Uses precise pixel offsets and absolute coordinates to place mathematical glyphs and symbols.
Better-scroll is a JavaScript scroll library and touch interaction engine designed to create high-performance scrollable areas in web browsers. It functions as a modular UI component framework that provides the foundation for building complex scrollable elements. The library is distinguished by a plugin-based architecture that allows the injection of custom methods and event hooks. This system enables the creation of specialized interface components such as carousel sliders, scrollable picker inputs, and draggable element systems. The project covers a wide range of mobile web interaction pat
Implements scrolling by translating content using absolute pixel-offset strategies within a fixed viewport.
AsyncDisplayKit is an asynchronous UI framework and performance library for iOS. It provides a collection of performant alternatives to standard views, allowing developers to build responsive interfaces by offloading layout and rendering tasks to background threads. The framework is centered around a declarative layout engine based on a flexbox model, which calculates element positions and sizes asynchronously. It utilizes a node-based abstraction to wrap native views, enabling the instantiation and configuration of UI hierarchies on background threads to prevent main thread blocking. The sy
Allows precise placement of elements using exact X and Y coordinates within a layout.
react-slick is a React carousel component and responsive slider library. It provides a reusable user interface element for displaying a sequence of items in a horizontal scroll, supporting infinite looping, navigation dots, and adjustable transition speeds. The library enables the creation of touch-enabled image and content sliders that adapt to different screen sizes. It is used to build interactive content carousels, responsive image sliders, and rotating banners for product showcases.
Implements absolute positioning of slide elements to create a linear track for hardware-accelerated transitions.
Flickity is a JavaScript library used to create responsive, touch-enabled content carousels and sliders for web pages. It provides a system for building flickable galleries that allow users to navigate through collections of elements using touch or mouse input. The library specializes in performance and movement, featuring lazy-loading for images that defers loading off-screen content until it enters the viewport. It supports infinite scrolling loops that wrap back to the first cell after the last is reached, as well as automated slide transitions for slideshow experiences. The toolset inclu
Implements absolute pixel-offset positioning to manage precise horizontal and vertical placement of carousel cells.
Clusterize.js is a vanilla JavaScript virtual list library and DOM virtualization tool. It enables the display of massive data sets by rendering only the subset of rows currently visible within the user viewport. The plugin operates as a lightweight frontend component without external dependencies or framework requirements. It reduces browser memory usage and DOM load by swapping the content of existing elements rather than rendering thousands of nodes simultaneously. The library focuses on frontend performance optimization and large dataset visualization. It maintains a native scrolling exp
Implements absolute positioning to precisely place data rows within the viewport based on their calculated indices.
Magic of CSS is a structured tutorial series that teaches web developers advanced CSS layout, typography, and animation techniques through hands-on examples. The course covers the full spectrum of CSS capabilities, from foundational box model and positioning concepts to sophisticated animation and interactive state management, all without relying on JavaScript. The series distinguishes itself by teaching practical, real-world CSS patterns such as inline-block justified grids, percentage-based absolute positioning, table-display vertical centering, and letter-span styling techniques. It demons
Teaches absolute positioning to remove elements from normal document flow.
Basscss is a lightweight CSS utility toolkit built on an atomic, single-purpose class architecture. Each class performs exactly one visual function, enabling immutable, side-effect-free styling where no class ever overrides or conflicts with another. The system provides a predefined spacing scale, responsive breakpoint prefixes for conditional styling across device widths, and accessible visibility control that keeps content programmatically available to assistive technologies. The framework distinguishes itself through a float-based grid system that constructs layouts using floated percentag
Provides utility classes for absolute positioning of elements relative to their nearest positioned ancestor.
HarfBuzz is a text shaping engine that converts Unicode text into correctly positioned glyphs for any writing system. It processes OpenType layout features, substitution rules, and positioning tables to produce shaped glyph sequences from font data, and also handles Apple Advanced Typography font tables. The library provides a stable C API that abstracts over platform-specific font access and rendering backends, and includes a font table caching layer to avoid redundant parsing during repeated shaping operations. The project implements script-specific shaping logic for complex writing systems
Provides a debug visualization that cycles through animation states of shaped text to inspect glyph placement.
该项目是一个 CSS 艺术画廊和前端设计实验,由完全使用 HTML 和 CSS 渲染的人物肖像组成。它作为一个纯 CSS 插图和矢量艺术集合,在不使用外部图像文件、SVG 或 Canvas 的情况下创建详细的数字绘图。 该项目采用多种技术方法来实现这些视觉效果,包括模拟单个像素的 box-shadow 像素艺术,以及使用具有绝对定位的层叠 HTML 元素来构建矢量风格图形。它利用嵌套组件层级和相对坐标系来在不同比例下保持比例。 该实现涵盖了一系列 CSS 功能,例如通过 border-radius 和 clipping 进行形状组合,以及使用 CSS 变量来集中管理调色板以实现一致渲染的主题系统。
Uses percentage-based offsets to place visual elements, ensuring proportions are maintained across different viewing scales.
vue-virtual-scroll-list 是一个 Vue 应用程序的虚拟列表实现。它提供了一个组件,仅渲染大型数据集中的可见项,以保持高性能并限制活动 DOM 元素的数量。 该项目作为一个高性能列表渲染器和动态视口管理器运行。它计算实时列表尺寸和滚动偏移量,以显示数千个数据条目,而不会降低浏览器内存使用率或性能。 该系统包括用于导航到特定项索引或像素偏移量的程序化滚动控制。它还提供用于查询列表尺寸、视口大小和单个项测量值的实用程序,以管理布局间距。
Implements absolute pixel-offset positioning to simulate a long scrollable container for virtualized list items.
Packery 是一个 JavaScript 装箱网格布局引擎和 DOM 元素定位库。它通过计算并应用绝对坐标到 HTML 元素来防止重叠,从而将不同大小的元素排列成无间隙、紧凑的网格。 该库支持创建可拖动的网格界面,允许用户通过拖放重新排列元素,同时系统会自动重排剩余项目。它通过使用基于百分比的定位系统并响应窗口调整大小事件,在不同屏幕尺寸下保持稳定、响应式的布局。 该工具通过与图像和字体加载同步、通过“邮票”预留布局空间以及使用占位符标记在手动重排期间预览放置位置等功能,管理动态内容排列。它还支持用于重新定位元素的交错过渡,以及集成外部网格系统以进行列对齐。
Tracks item positions and dimensions as relative percentages to ensure layout stability during window resizing.
该项目是实现 CSS 布局、排版和视觉效果的参考指南和可复用模式集合。它作为一个样式片段库和实现指南,用于构建网页并创建常见的用户界面模式。 该仓库为视觉效果和 UI 组件模式提供了专门的展示库。这些包括创建玻璃拟态、复杂几何形状以及交互式元素(如手风琴、工具提示和动画标签指示器)的技术。 该项目涵盖了广泛的前端能力,包括响应式设计、灵活的网格布局系统以及排版优化。它还包括用于构建交互式运动效果、颜色混合和图像过滤的资源,以解决常见的渲染问题并增强界面美观度。
Provides techniques to prevent text wrapping and allow absolutely positioned elements to fit their content.
ViewPagerCards 是一个移动端滑动导航组件和基于手势的视图分页器,用于创建水平可滑动的卡片布局。它作为一个应用引导轮播图和功能展示界面,引导用户完成线性屏幕序列。 该组件实现了旨在展示产品功能的视觉卡片式布局。它支持在移动应用内创建交互式功能展示和入门引导体验。
Positions cards using linear offsets relative to the viewport width for smooth sliding animations.
okayNav 是一个 JavaScript 库,用于创建响应式导航菜单,该菜单根据视口宽度自动折叠到屏幕外的侧边栏中。它作为视口感知的 UI 组件,随着浏览器窗口调整大小,重新计算可见和隐藏导航链接的分布。 该框架通过提供一个支持滑动的手势系统来打开和关闭移动菜单,该系统具有可调节的灵敏度,从而脱颖而出。它还允许对导航抽屉的可见性进行编程控制,以根据特定的用户操作触发菜单。
Hides the navigation menu by positioning it outside the visible viewport using CSS transforms.
React tiny virtual list is a zero-dependency component library that optimizes performance for extensive vertical and horizontal collections by rendering only the items currently visible in the viewport. It handles large datasets efficiently while supporting variable item dimensions and dynamic content updates at runtime. The component supports both horizontal and vertical scroll directions, absolute positioning layouts, and dynamic offset measurements computed via fixed numbers, size arrays, or callback functions. It also provides imperative methods to programmatically scroll or jump to speci
Calculates precise absolute pixel offsets to position rendered list items within the scrollable viewport container.
This project is a data grid library designed for building complex, interactive tables within React applications. It provides a suite of modular components that enable the display of structured information, supporting both custom cell rendering and flexible column configurations to accommodate diverse data presentation needs. The library is built to handle large datasets by utilizing virtualized rendering, which ensures high performance by only processing the subset of rows currently visible within the viewport. It distinguishes itself through support for dynamic row heights and programmatic s
Calculates precise pixel coordinates for table elements to manage complex scrolling and fixed header positioning.
Fixed-nav is a client-side JavaScript library for building responsive, touch-friendly navigation menus on single-page websites. It pins navigation bars to the screen viewport so control interfaces remain persistently accessible as users scroll through long content. The library automatically monitors scroll positions against document boundaries to highlight active section indicators in real time. When navigation links are selected, it animates viewport transitions to target sections using hardware-accelerated timing functions instead of abrupt jumps. Additional capabilities include dimming ba
Pins navigation bars to the screen viewport so control interfaces remain persistently accessible while scrolling.