awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

4 个仓库

Awesome GitHub RepositoriesPercentage-Based Positioning

Positions child elements relative to parent edges using 100% offset values without fixed dimensions.

Distinct from Absolute Positioning: Distinct from Absolute Positioning: focuses on percentage-based offsets rather than pixel coordinates for positioning.

Explore 4 awesome GitHub repositories matching user interface & experience · Percentage-Based Positioning. Refine with filters or upvote what's useful.

Awesome Percentage-Based Positioning GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • adamschwartz/magic-of-cssadamschwartz 的头像

    adamschwartz/magic-of-css

    6,684在 GitHub 上查看↗

    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 positioning child elements relative to parent edges using 100% offset values without fixed dimensions.

    CSScssdesignexamples
    在 GitHub 上查看↗6,684
  • pattle/simpsons-in-csspattle 的头像

    pattle/simpsons-in-css

    4,591在 GitHub 上查看↗

    该项目是一个 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.

    CSS
    在 GitHub 上查看↗4,591
  • metafizzy/packerymetafizzy 的头像

    metafizzy/packery

    4,317在 GitHub 上查看↗

    Packery 是一个 JavaScript 装箱网格布局引擎和 DOM 元素定位库。它通过计算并应用绝对坐标到 HTML 元素来防止重叠,从而将不同大小的元素排列成无间隙、紧凑的网格。 该库支持创建可拖动的网格界面,允许用户通过拖放重新排列元素,同时系统会自动重排剩余项目。它通过使用基于百分比的定位系统并响应窗口调整大小事件,在不同屏幕尺寸下保持稳定、响应式的布局。 该工具通过与图像和字体加载同步、通过“邮票”预留布局空间以及使用占位符标记在手动重排期间预览放置位置等功能,管理动态内容排列。它还支持用于重新定位元素的交错过渡,以及集成外部网格系统以进行列对齐。

    Tracks item positions and dimensions as relative percentages to ensure layout stability during window resizing.

    JavaScript
    在 GitHub 上查看↗4,317
  • rubensousa/viewpagercardsrubensousa 的头像

    rubensousa/ViewPagerCards

    4,066在 GitHub 上查看↗

    ViewPagerCards 是一个移动端滑动导航组件和基于手势的视图分页器,用于创建水平可滑动的卡片布局。它作为一个应用引导轮播图和功能展示界面,引导用户完成线性屏幕序列。 该组件实现了旨在展示产品功能的视觉卡片式布局。它支持在移动应用内创建交互式功能展示和入门引导体验。

    Positions cards using linear offsets relative to the viewport width for smooth sliding animations.

    Javacardviewviewpager
    在 GitHub 上查看↗4,066
  1. Home
  2. User Interface & Experience
  3. Element Positioning
  4. Absolute Positioning
  5. Percentage-Based Positioning