CSS can be used to alter the appearance of a web page when printed on paper. For the screen version, you can choose one typeface and another for the print version.
The @media CSS at-rule can be used to apply a portion of a style sheet based on one or more media queries' results. You can use it to define a media query and a CSS block that will be applied to the document if and only if the media query matches the device on which the content is being viewed.
Although page breaks are not displayed, the DevTools (F12 or Cmd/Ctrl + Shift + I) can imitate print styles. Open Developer Tools in Chrome and choose More Tools, then Rendering from the three-dot icon menu at the top right. Emulate CSS Media should now print at the bottom of that panel.
Some properties that are not printable include:
border-color
border-style
border-width
The advantages of using print properties include:
Using fewer images
Creating unique designs for each type of media
Creating unique designs for each device
Learner's Ratings
4.3
Overall Rating
69%
15%
7%
4%
5%
Reviews
R
Rudra
4
Sir thanks a lot
S
Shubham Shinde
5
good
C
Chandan kumar sharma
4
aap jo is video me bata rahe hai ki pahle ye sab padha hai position ke bare me to kaha padhaye hai abhi tak wo sab ?
M
Monika Rana
5
Great Explaination!
V
Vishal
5
Its really good teacher
Best explanation
N
Neha Chaprana
5
all good
V
Vivek kumar
5
forums feature is not working ☹️
Q
Qitmeer Raza
5
This Course Is Very Helpful For Beginners !! THANKS, A LOT
Share a personalized message with your friends.