Toggle Button Movement using CSS
Hello,
I am looking to create flyout menus that fly out from the left and right side of the screen. I want the toggle buttons to move with the flyout menus so that the users can select the toggle buttons in their starting position to open the menus and then select them again in their moved positions to hide the menus. I have experimented by added the toggle buttons into popups but they did not look right. I am using the code below for the popup menus. Is there coding similar to what's listed below to move the toggle buttons as well?
Thanks in advance!
[widget-id="Test_Information_Popup2"] {
top: 315px;
padding: 0px !important;
background: rgba(255, 255, 255, 0.2);
box-shadow: none;
.twx-popup {
box-shadow: none;
}
.twx-popup-container {
transition: -webkit-transform .5s cubic-bezier(.455,.03,.515,.955);
transition: transform .5s cubic-bezier(.455,.03,.515,.955);
transition: transform .5s cubic-bezier(.455,.03,.515,.955),-webkit-transform .5s cubic-bezier(.455,.03,.515,.955);
-webkit-transform: translateX(0) translateZ(0);
transform: translateX(0) translateZ(0);
}
.twx-popup-container.ng-hide {
display: block !important;
-webkit-transform: translateX(-250px) translateZ(0);
transform: translateX(-250px) translateZ(0);
}
}
[widget-id="Change_History_Popup"] {
top: 315px;
padding: 0px !important;
background: rgba(255, 255, 255, 0.2);
box-shadow: none;
.twx-popup {
box-shadow: none;
}
.twx-popup-container {
transition: -webkit-transform .5s cubic-bezier(.455,.03,.515,.955);
transition: transform .5s cubic-bezier(.455,.03,.515,.955);
transition: transform .5s cubic-bezier(.455,.03,.515,.955),-webkit-transform .5s cubic-bezier(.455,.03,.515,.955);
-webkit-transform: translateX(0) translateZ(0);
transform: translateX(0) translateZ(0);
}
.twx-popup-container.ng-hide {
display: block !important;
-webkit-transform: translateX(450px) translateZ(0);
transform: translateX(450px) translateZ(0);
}
}

