HTML5 Game Development
   
  • HOME
  • News
  • Tutorials
  • Engines
  • Demos
  • Tools
  • Partners
  • Mobile HTML Game
  • Wind And Solar
  • About us

Hearthstone card effect in CSS

An interesting question was posed via Twitter recently. It was about finding a way to create a card browse/hovering effect like the one in the popular card game Hearthstone using HTML, CSS or JS. Among many responses two Codepens were created. They tried to simulate the Hearthstone card effect in CSS only.Hearthstone card effect in CSS - tweet screenshot

The first card-selector is a good attempt, the card effect is nice, fluid and responsive. It can definitely relate to the original. Consequently, inspired by this pen and the tweet, another attempt was made.

Card hover effect with aces and king

 

This one also feels and looks like Hearthstone. It’s done pretty well using HTML/CSS. The motions are pretty fluid and the effect is good too. It’s amazing what can be done using mostly CSS.

Hearthstone hover effect rainbow cards

Check out the pens to get a better look and here is the tweet in case you want to find out more.

Share List

You might also find this interesting:


  1. WebGL Reference Card Khronos has posted an authoritative 4-page OpenGL ES 2.0 API Quick Reference Card available as a PDF download direct from the Khronos web site. The site also hosts the OpenGL...

  2. Pure CSS Platform Game Is it possible to make an HTML5 game with CSS only? No Javascript? The answer is apparently yes. Here’s a platform game that was made with pure CSS code. The author...

  3. 3D Fractal Flame Effect The 3D Fractal Flame Experiment is a WebGL experiment that generates particle and sound effects when you type a word or phrase. The particles change their shape and form when...

  4. HTML5 World of Card Games launches Following up on the success of DOM-based HTML5 (technically HTML4) hit World of Solitaire (which tallies over a million monthly uniques as the first result when you type “Solitaire” into...

  5. Rough Drawing Effect WebGL Experiment Rough Drawing Effect is an experiment in Three.js and WebGL that features multi-colored 3D shapes dancing around a colored background. Its author was inspired by another WebGL experiment called Polygon...

Cards, Codepen, CSS, Hearthstone, image effects, Open-source, Twitter
HTML5 Demos, Misc

License HTML5 Games

Are you a company looking to license HTML5 games? We recommend MarketJS.com, a B2B platform for licensing games.

MarketJS has over 300 HTML5 games for licensing. They also provide additional services such as game reskin, custom development, and white label portals.

Html5 Game Development


Follow @GameDevHTML5



WHAT’S NEW

  • Unity’s Pricing Scheme Changes

  • Unity Game Engine Pricing Fee

  • Open-source 3D Game Engine with Sketchfab Integration

  • MODD.IO Updates – Improved No Coding Required Game Engine

  • GPT3 Voting Board



NEW DEMOS

  • New BabylonJS Feature Within Skybox

  • Creating a Mobile HTML5 RPG – Guidelines for Beginners

  • How to Use HTML5 Games To Engage Social Media Followers

  • Running HTML5 Games for Online Competitions

  • Vertical Platformer Games Using GDevelop


ENGINES

  • Unity’s Pricing Scheme Changes

    In an open letter to the Unity community, the company announced the details of its pricing scheme changes. In the letter, the Personal plan will remain free and there will …Read more

  • Unity Game Engine Pricing Fee

    Early in September 2023, Unity Technologies announced the Unity game engine pricing fee. Starting on 1 January 2024, the company will charge game developers a fee (2 tiers) for each …Read more

  • Open-source 3D Game Engine with Sketchfab Integration

    PlayCanvas, an open-source 3D game engine, has added Sketchfab integration into its latest updates. This improvement gives game developers access to Sketchfab’s high-quality 3D, AR, and VR content. To access …Read more

SEARCH OUR ARCHIVES

CONNECT

rss twitter

HTML5 Game Development is proudly run by 3P Solutions Inc

GOT NEWS?

Send new engines, demos, information and tips to hello@html5gamedevelopment.com

MONTHLY MEETUP

In boston? Join us for the Monthly HTML5 Game Development meetup.

BOOKS

We're in the process of writing a few books about game development. Coming soon!

Copyright HTML5gamedevelopment.com