folkemon1977 Posted April 1, 2020 Share Posted April 1, 2020 Hi everybody, how can i change caret from up to down (and back again) in menu after click/touch? Using CSS only would be very nice solution... https://www.w3schools.com/w3css/tryit.asp?filename=tryw3css_accordion_sidebar Many thanks Link to comment Share on other sites More sharing options...
dsonesuk Posted April 1, 2020 Share Posted April 1, 2020 transform: rotate() will do that. Enter number then unit as deg between , -180deg, 180deg, as you can see it accepts negative. Link to comment Share on other sites More sharing options...
folkemon1977 Posted April 2, 2020 Author Share Posted April 2, 2020 8 hours ago, dsonesuk said: transform: rotate() will do that. Enter number then unit as deg between , -180deg, 180deg, as you can see it accepts negative. Please, can you add concrete example? This is my menu and i want add caret rotation. https://www.w3schools.com/code/tryit.asp?filename=GDFH38F644F4 Many thanks Link to comment Share on other sites More sharing options...
dsonesuk Posted April 2, 2020 Share Posted April 2, 2020 No problem! https://www.w3schools.com/cssref/playit.asp?filename=playcss_transform_rotate Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now