Answers for "how to move text up in css"

CSS
2

how to move text down in css

p {
  padding-top: 2em;
}
Posted by: Guest on July-19-2020
4

how to move anything left in css

<html>
   <head>
   </head>

   <body>
      <div style = "position:relative; left:80px; top:2px; background-color:yellow;">
         This div has relative positioning.
      </div>
   </body>
</html>
Posted by: Guest on May-17-2020
0

how to move text down css

position: relative;
top: 6px;

sink it down from top.
Posted by: Guest on October-28-2021

Browse Popular Code Answers by Language