Jump to content

My code that I inject on my page is not activated

Go to solution Solved by Web_Solutions,

Recommended Posts

  • Replies 5
  • Views 937
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

my code simply can't be right, I generated it on Chat GPT because I don't know anything about coding... 

I'm French, so I don't know if that helps. 
 

Here's the code: 

<style>/* Style pour l'effet d'opacité */
.image-with-opacity-effect {
  transition: opacity 0.3s;
}

.image-with-opacity-effect:hover {
  opacity: 0.7; /* Opacité de l'image au survol */
}
  </style>

Link to comment
  • Solution
3 hours ago, Jordan14123 said:

my code simply can't be right, I generated it on Chat GPT because I don't know anything about coding... 

I'm French, so I don't know if that helps. 
 

Here's the code: 

<style>/* Style pour l'effet d'opacité */
.image-with-opacity-effect {
  transition: opacity 0.3s;
}

.image-with-opacity-effect:hover {
  opacity: 0.7; /* Opacité de l'image au survol */
}
  </style>

You should provide your website URL.

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
33 minutes ago, Jordan14123 said:

My website : www.jordan-bouvier.com

 

Do you want to add the hover effect on there(see the image)?

Screenshot_156.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment

Create an account or sign in to comment

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


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.