+ 2
Again...
Trying to get the text to move left and right inside the border x.x can't seem to het it working though. Suggestions? https://code.sololearn.com/W6L70YGVbYfd/?ref=app
2 Answers
+ 13
There's no problem in your JS.
You have to add a ; after width, height and position in CSS and boooom! It works !
Do like this :-
width :100px;
height:50px;
position: absolute;
+ 3
@Nikhil Thanks! now I just have to resize some things and move the border location!