I have this code that adds 0.4 opacity to an clicked element, but I want do add a border also. How I can do it? I also want the border to be on the inside.
When the image is active I have the opacity to 0.4 but I also want the img to have a border on the inside so it does not mess with the margins and push the others imgs around
@codyhillauthorJun 26.2019 — #@coothead#1605411 NVM , I fiex the issues with the other codes but the border is still on the outside :D . But the border is still on the outside, I am trying with inset but I don't know how to write that in JS
@codyhillauthorJun 26.2019 — #@coothead#1605427 It does not , But I'll try thinking of something else to make the selected img more visible that will be easier to execute