Hello, I recently came across a tutorial online that helped me create a form slide effect on my website.
However, the issue I'm facing is that the form is positioned to the left and I would like it to be placed on the right instead.
For reference, here is the link to the demo.
Below is the code snippet from the tutorial:
.feedback {
position: fixed;
left: 0;
bottom: 0;
}
.feedback a {
display: block;
height: 20px;
width: 100px;
text-align: center;
background: red;
border: 2px solid #fff;
outline: 1px solid #a1a1a1;
padding: 5px;
float: left;
cursor: pointer;
color: #FFF;
font-weight: bold;
font-size: 18px;
}
I attempted to modify the code by changing the left:0
to right:0
and float:left
to float:right
.
Although this adjustment worked perfectly in Firefox, when testing it in Chrome, the form easily broke down and shifted far to the right...
If anyone could offer some assistance or advice, I would greatly appreciate it! Thank you!