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

23rd May 2020, 9:35 PM
Blokhin Roman
Blokhin Roman - avatar
2 Answers
+ 3
https://code.sololearn.com/W1G2OCEvZkAA/?ref=app
23rd May 2020, 9:41 PM
Mustafha Ahmad
Mustafha Ahmad - avatar
+ 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>
23rd May 2020, 9:40 PM
Abhay
Abhay - avatar