Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS transform doesn't work? #22

Closed
RannyBergamotte opened this issue Jun 24, 2023 · 2 comments
Closed

CSS transform doesn't work? #22

RannyBergamotte opened this issue Jun 24, 2023 · 2 comments

Comments

@RannyBergamotte
Copy link

I was styling the menu, and wanted to make it so when I hover, the icon grows slightly bigger. I tried using transform: scale(1.2), but that didn't work, and said that there was an error in CSS file and it fell back to GTK theme. Out of curiosity I also tried transform: rotate(20deg);, and that also caused it to fail.

@nwg-piotr
Copy link
Owner

I haven't ever tried this property. You may want to take a look at this: https://docs.gtk.org/gtk3/css-properties.html

@RannyBergamotte
Copy link
Author

Ah ok, didn't know it was rendering css through gtk, although now that makes sooooo much more sense (not only with this but everything else using gtk). I was reading the CSS docs for web development on W3 schools.

Thanks a lot, I will close this issue for now then, and read the gtk docs and find a solution tommorow.

Love the nwg-bar too, feels great, fits in nicely with my system themes after customization, and super simple!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants