Search
 
SCRIPT & CODE EXAMPLE
 

CSS

remove whitespace around text css

span {
  display: inline-block;
  font-size: 50px;
  background-color: green;
  /*new:*/
  font-family: 'Times New Roman';
  line-height: 34px;
  height: 35px;
}

<span>
    BIG TEXT
</span>
Comment

css remove whitespace around element

body { margin:0px; }

header { border:1px black solid; }
Comment

PREVIOUS NEXT
Code Example
Css :: change background color on hover 
Css :: CSS Conic Gradients 
Css :: input css text on right 
Css :: width 
Css :: Input with File type css override 
Css :: css lock scroll 
Css :: define element opacity css 
Css :: webkit box shadow not working 
Css :: css list in line 
Css :: font shorthand css 
Css :: css custom properties 
Css :: Cambiar el color de texto al hacer scroll css 
Css :: sass use variables from another file 
Css :: alert without page refresh 
Css :: animation left to right css 
Css :: for...in...loop 
Css :: DIVI Responsive menu breakpoints 
Css :: vertical divider between my flexbox 
Css :: text shadow css 
Css :: html css profile page template 
Css :: ellipsis 
Css :: css class and id 
Css :: two line ellipsed 
Css :: padding css 3 values 
Css :: animate.css 
Css :: justify xd 
Css :: max width for tablet 
Css :: css transforms 
Css :: fixed image position while scrolling 
Css :: grid-template-areas 
ADD CONTENT
Topic
Content
Source link
Name
7+5 =