How do you make a button/tile show like it is being pressed like shown in the video
From the app shown in this post:
How do you make a button/tile show like it is being pressed like shown in the video
From the app shown in this post:
Here you go.
<pre><span><style>
.tile-overlay:active
{
opacity: .1;
}
</style></span></pre>
Thanks. Can’t understand why this is not a native feature in glide
Wouldn’t be any fun if we didn’t have to figure it out ourselves.
So true!!
@Jeff_Hager Do you think you could do the same if you are actually using an image. I haven’t had any luck doing that
@Jeff_Hager Did my first adjustment of css in order to change “image clicked”
<pre><span><style> img:active { opacity: .1; } </style></span></pre>
I assume you must be using only images for your buttons? That might be the difference. I am using images as well, but only as a background. I’m using the column text as an overlay, so I’m guessing that’s why the CSS worked differently.
I tried out your CSS in my app without the overlay and it worked!