NO BUG: Default CSS transition (all 0.2s ease-in) Not work

Bricks Version: 1.5.6
Browser: Chrome
OS: Windows

Hi bricks developer.

In the CSS transition section, the default value of all 0.2s ease-in is displayed, but it does not work in practice and we must enter it manually.
For example, I add a button and change its background color on hover. After the hover, the color changes without any transition. But when I add all 0.2s ease-in manually, it works.

I think that it’s a placeholder, not the default value.

Yes, but shouldn’t it work?

Hey Hosein,
No, because then you would have to “unset” the transition every time on every element.

Best regards,
timmse

Hi and thank you @timmse , Is there an option in bricks to set the CSS transition globally for all elements? For example, in the theme style section.

However, there is a CSS universal selector: *

You will realize very quickly that adding a transition to every element is not a good idea at all :nerd_face:

1 Like