Jump to content

Image Onclick


Hemlock
 Share

Recommended Posts

Hello fellow reader,I have a small question, I am trying to make a small feature to my website, that if you click the image, it will enlarge.I am not really a blast in Javascript, I know the plain basics that are most often used in combination.So basically, I made a new Class in CSS called img.large, which has a absolute value, and some width and height values, nothing too fancy, currently, my images reside in another CSS but is there a way, to let this image basically pop up in front of the image, enlarged on click, and what would be the best way to approach this?Regards

Link to comment
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
 Share

×
×
  • Create New...