0
I don't understand in the everning
ĐĐ”lp please. How to do link "rainbow in the center? "https://code.sololearn.com/WJ3g4QOBUPE0/?ref=app
2 Answers
+ 3
https://code.sololearn.com/W1G2OCEvZkAA/?ref=app
+ 1
a{
position:absolute;
left:150px;
}
You can change that left property to fit accordingly,
There must be other ways to do it since this won't remain same when window size increases or decreases ,
Also you could use js
<script>
var w=document.querySelector("a");
w.style.left=((window.innerWidth/2-10)).toString()+"px";
</script>