Know Your Pixels?

A funny game where you have to resize your browser window to a specific size as fast as possible

建立方法 JavaScript, HTML5, CSS3,

  • 133 次观看
  • 3 个评论

有关此演示作者的更多信息

Your task, if you choose to accept, is to resize your browser window as fast as possible to the presented width and height.

The background color of the webpage indicates whether you're far off the pixel values or not. Blue means "far off", red means "almost there" and green "you've done it."
The countdown in the middle shows how much time is left to resize your window. Depending on what game level you choose you have to be more or less precise and faster with the resizing.
The faster you resize it to the correct size, the more points you can earn.
Also: there's a small easter egg in the game (a hint: at the startscreen). Can you find what it is? ;)

到目前为止有 3 个评论

登录后添加您自己的。

  1. depy 说:

    Good game but the "img" thing is amazing ! I really want to know how you did that ?
    1. pa7 说:

      Thanks I appreciate you're liking it :)

      the "img" is just a div with lots of box-shadows.
      I wrote a small webapp in JS for generating box-shadow styles for any image. I will host it on my domain after some small refinements, if you're interested I can let you know about it as soon as it's online
  2. launchinteractive 说:

    Nice work on the game. Its tough.. oh and the img is crazy.

关于此演示

下载源代码 133.5 KB · ZIP 格式

此演示发布于 GPL 授权之下。

pa7 的更多作品