Linuxwebdeveloper

Responsive Design for Dice Game Website and App

Recommended Posts

Hi

I can see your .dice class has some media queries already, you've used a large margin to position the elements, inside one of your media query using something like `margin: 20px` makes it display visibly for mobiles.

For laying out elements like this maybe consider tables, floats, flexbox and even grid, lots of ways of achieving basically the same thing! If you're happy with fiddling margins for different breakpoints (defined by media queries) then do that, it'll also work!

Share this post


Link to post
Share on other sites

A pure canvas 3d Rolling dice has been released today by me.

It has Object Oriented JavaScript Class.

It can take images for each side and a number on which it has to stop.

Have a look at it and grab your copy here https://codecanyon.net/item/dice-game-object-oriented-core-javascript-canvas-3d-dice/22174656?s_rank=9

Thank you

Have fun with games

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.