It would be very evazivo to explain you one by one. The best thing to do is to look for some tutorials of CSS
and HTML
. That, today, has plenty of content on the internet. But I'll try to explain some of them:
padding :
It puts a kind of edge in between the content and the box. An image that might help you:
Inthisimage,weseetheHelloWordcontentthatisinsideadiv
(justtoillustrate)inyellow.Thepaddingmakesthisborderbetweenthepointfrominsidetheboxtothecontent(helloworld)
font-size:
Asthenameitselfproposes,itisthesizeofthefont,thatis,thesizeofthetext.
border:
Thisisusedtosettheelement'sborders,suchasbordertype(line,dashes,etc.),bordercolor,etc.
cursor:
position:
Itfiddleswiththepositionofascreenelement.Forexample,youcancreateadivandplaceitinthecenterofthescreen.
display:
Liketheexampleyoumentioned,inline-block
workstoleaveelementsinline(sidebyside)butwithblockstyle.Thereis,forexample,onlyblock
thatleavestheelementsonebelowtheother.
Takealookatcss,likethelinksbelow:
link
link