Using css class selectors on a specifc page [closed]

This is off-topic, as it’s a CSS question, not a WordPress question. That being said.. You need to attach your class to your tag. Use:

img.activities {
    /* stuff here */
}

Your current CSS selector targets this:

<span class="activities">
    <img src="https://wordpress.stackexchange.com/questions/145611/image.png"/>
</span>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)