Skip to content
Discussion options

You must be logged in to vote

Okay I actually figured this out! I used transform translate rather than left right in my CSS classes and now it works with virtual-chinrest resize!

.right-align {
    display: inline-block;
    position: absolute;
    width: 200px;
    height: 200px;
    padding-top: 5px;
    transform: translate(200px, 0px);
}

.left-align {
    display: inline-block;
    position: absolute;
    width: 200px;
    height: 200px;
    padding-top: 5px;
    transform: translate(-400px, 0px);
}

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@selinbekir
Comment options

Comment options

You must be logged in to vote
1 reply
@becky-gilbert
Comment options

Answer selected by selinbekir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants