跳过至主要内容
CSS-Tricks
  • 文章
  • 笔记
  • 链接
  • 指南
  • 年鉴
  • 随机
搜索

相关文章标签
game

12篇文章
{
,

}
直接链接到文章 Pop(over) the Balloons
game popover

Pop(over) the Balloons

我一直对我们仅用 HTML 和 CSS 就能实现的功能感到着迷。Popover API 的新交互式功能再次证明了,仅仅使用这两种语言,我们能够实现多么强大的功能。……

Avatar of John Rhea
John Rhea 于 2024 年 7 月 25 日
直接链接到文章 How I Made a Pure CSS Puzzle Game
checkbox hack game grid mask radial-gradient

How I Made a Pure CSS Puzzle Game

我最近发现了用纯 CSS 创建游戏的乐趣。HTML 和 CSS 能够处理整个在线游戏的逻辑,这始终让我感到着迷,所以我也必须尝试一下!这类游戏通常依赖于老式的……

Avatar of Temani Afif
Temani Afif 于 2022 年 9 月 9 日
直接链接到文章 Generating (and Solving!) Sudokus in CSS
custom properties game

Generating (and Solving!) Sudokus in CSS

我喜欢让 CSS 做一些它不应该做的事情。这就像是在构建一个 Minecraft 计算器 时进行的脑力训练,只不过你无论多么擅长 Minecraft Redstone,都不太可能得到一份与之相关的职位。……

Avatar of Lee Meyer
Lee Meyer 于 2021 年 4 月 26 日
直接链接到文章 Recreating Game Elements for the Web: The Among Us Card Swipe
game

Recreating Game Elements for the Web: The Among Us Card Swipe

作为一名 Web 开发人员,我密切关注着电子游戏的 设计。从 Overwatch 中的 HUD 到 Pokemon Go 中的捕获屏幕,再到 Oregon Trail 中的狩猎,游戏通常拥有有趣的机制和 令人满意的互动,……

Avatar of Thomas Park
Thomas Park 于 2021 年 2 月 9 日
直接链接到文章 Whack-a-Mole: The CSS Edition
checkbox hack game

Whack-a-Mole: The CSS Edition

我们已经了解了 checkbox hack,以及如何用它在 CSS 中构建一个 完整的状态机。今天,我们将进一步探讨这一思路,并构建一个简单的 Whack-A-Mole 游戏,玩家需要……

Avatar of Will Yu
Will Yu 于 2021 年 1 月 6 日
直接链接到文章 Multiplayer Tic Tac Toe with GraphQL
game graphql

Multiplayer Tic Tac Toe with GraphQL

GraphQL 是一种用于 API 的查询语言,它赋予了前端开发人员强大的力量。正如 GraphQL 网站 所解释的那样,你可以描述你的数据,请求你想要的东西,并获得可预测的结果。

如果你还没有使用过它……

Avatar of Rishichandra Wawhal
Rishichandra Wawhal 于 2019 年 8 月 23 日
直接链接到文章 Building Battleship in CSS
checkbox hack game

Building Battleship in CSS

这是一个实验,看看我仅使用 CSS 能在互动体验中走多远。还有什么比游戏更适合尝试呢?Battleship 看起来是一个不错的挑战,也是对 CSS 游戏的进一步提升……

Avatar of Daniel Schulz
Daniel Schulz 于 2018 年 8 月 16 日
直接链接到文章 Creating a Parking Game With the HTML Drag and Drop API
game html api HTML5

Creating a Parking Game With the HTML Drag and Drop API

在 HTML5 中添加的许多 JavaScript API 中,拖放(我们将在本文中将其简称为 DnD)为浏览器带来了原生 DnD 支持,使开发人员更容易将此交互式功能实施到……

Avatar of Omayeli Arenyeka
Omayeli Arenyeka 于 2018 年 3 月 8 日
直接链接到文章 The Evolution of Trust
game

The Evolution of Trust

Nicky Case 的游戏在这个世界上是无价之宝。最重要的是,它们有趣且引人入胜。它们还将游戏玩法作为教育工具,用于讲解复杂、微妙且重要的议题。这些议题如果以其他方式讲解会更难……

Avatar of Chris Coyier
Chris Coyier 于 2017 年 8 月 7 日
  • 1
  • 2
  • 较旧的

CSS-Tricks 由 DigitalOcean 提供支持。

关注 Web 开发动态

订阅我们精心制作的新闻简报

DigitalOcean
  • 关于 DO
  • Cloudways
  • 法律信息
  • 获取免费积分!
CSS-Tricks
  • 为我们撰稿!
  • 与我们合作广告
  • 联系我们
社交媒体
  • RSS Feed
  • CodePen
  • Mastodon
  • X
返回顶部

© 2024 . All rights reserved.