Search
 
SCRIPT & CODE EXAMPLE
 

CSS

set margin to none inside print

body{
  margin: 25mm 25mm 25mm 25mm;
}
@media print {
  body {
    margin: 0;
    box-shadow: none;
  }
}
Comment

PREVIOUS NEXT
Code Example
Css :: css hot to center image in bootsrtap container 
Css :: css dashed double border 
Css :: css blink animation 
Css :: css animation properties 
Css :: change color accordion arrow bootstrap 5 
Css :: removing input border shadow 
Css :: input type date all css style 
Css :: css max-width none 
Css :: css center alignment 
Css :: test shadow css 
Css :: wrap none css 
Css :: z index div over cursor 
Css :: css image transition fade 
Css :: font. to be thinner css 
Css :: Horizontal Scrolling Bopostrap CSS 
Css :: box shadow css property 
Css :: convert firebase created_at to Date string 
Css :: input padding without changing width 
Css :: #f2f2f2 in rgba 
Css :: glassmorphism background in css 
Css :: box model css 
Css :: Align vertically and horizontally 
Css :: Disable text selection/highlight 
Css :: css prevent margin collapsing 
Css :: how to select classes that start with a certian name 
Css :: table properties css 
Css :: border css shorthand 
Css :: media queries 
Css :: SassError: Top-level selectors may not contain the parent selector "&" 
Css :: css custom bullet list 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =