rotate a second menu verticaly
-
hello there,
in my luju.fr site I try to rotate my second menu "verticaly" with this CSS trick I found :
.laynav.second_menu {
position: fixed;
right: -5em;
top: 50%;
text-align: center;
-webkit-transform: rotate(
90deg
);but it's not working correctly, I don't understand how to fix this, thank's for your help!
vertical menu
image url) -
I fix my mistake by myself, it's a 270° rotation !
with this it's OK :
.laynav.second_menu {
position: fixed;
right:-23em;
top: 60%;
text-align: center;
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
-ms-transform: rotate(270deg);
transform: rotate(270deg);
}I don't understand the "right:-23em;" to fix this menu to the right... if there is an other way I take it, thank's!
-
ah interesting!
maybe this is important too?
https://developer.mozilla.org/en-US/docs/Web/CSS/transform-originyes rotating can be confusing!!
-
thank's @arminunruh , your theme is magic ;)
-
thx <3<3<3<3
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login