Hi …
I read a few things about animated css buttons. But I am not sure how to do this in blocs. A short example …
They say add an anchor tag in the html and target the anchor tag with the css.
How to do this in blocs ? Because I don’t want to target all anchor tags.
Do I use the html bric and set an anchor tag ?
Or I use the link bric and set a class to this link and target the class with the css ?
Hope u understand. Hard to explain for me. Did anyone use an animated css button doing with html and css ?
Cheers Tom
I do not understand what is correct. To do all with html and css or for example use the button bric and use css …
Give me two minutes - I will try to copy the code
@PeteSharp
Not sure if you can see it. I am only at my Handy at the moment.
First example ( it’s not the complete code )
Add an anchor link and target the anchor and the pseudo before element with css …
I’ve done a few videos on Better Buttons on my YouTube channel. Check them out. It will give you an idea about the basics. I have more video coming when I get around to it
That code you show is going to style all links, I don’t think you want to do that. Use the code inspector and see the markup you already have with the buttons in blocs. 99% of what you have shown you can do without any code.
Ok - the Button bric and the class is simple.
And with the link - that l what I wrote before. I don’t want to target all links
Is there no way to target a specific link ?
I think with the element selector it must work. Maybe I am wrong ? It doesent matter if it’s a h1 , a , p etc …?
This is just any example from the video. There are 90 animated buttons. And the most examples they use the anchor tag and target the anchor tag.
U think 99 % in blocs ? But also with some css code ? Right ?
Is it good to mix it ? So use the button and the class editor and only do the transition with css ?