Search
 
SCRIPT & CODE EXAMPLE
 

CSS

padding for text in html

div {
  /*Padding for text from the top*/
  padding-top: 50px;
  /*Padding for text from the right*/
  padding-right: 30px;
  /*Padding for text from the bottom*/
  padding-bottom: 50px;
  /*Padding for text from the left*/
  padding-left: 80px;
  /*If you want to add same amout of padding to all sides use padding*/
  padding: 100px;
}
Comment

PREVIOUS NEXT
Code Example
Css :: html how to use a background image fill not stretch 
Css :: relier css html 
Css :: blink css 
Css :: red css color codes 
Css :: how to style submit button css 
Css :: bootstrap Aligning images 
Css :: css text gradient 
Css :: fill background color left to right css 
Css :: how many fonts can i add in a css font-face 
Css :: soup css selector 
Css :: how to set text in center in flex item 
Css :: tabla responsive css 
Css :: how to horizontal center a div in css 
Css :: html center image 
Css :: quitar borde a un boton css 
Css :: how to margin placeholdr text 
Css :: cool box shadow effects css 
Css :: repeating-linear-gradient 
Css :: triangle css 
Css :: design good font color 
Css :: select even child css 
Css :: css transform origin 
Css :: font face css 
Css :: how to underline font in css 
Css :: css gradient bottom page 
Css :: media screen hp 
Css :: how to put mulitple conditions in media query 
Css :: css no purple links 
Css :: tailwind css responsive table 
Css :: css children selector 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =