0
What is widows property in css??
I have saw this property in w3school html DOM scree their is example also i try my self that example but also i don' t understand
4 Réponses
+ 1
The widows property sets or returns the minimum number of lines for an element that must be visible at the top of a page (for printing or print preview).
The widows property only affects block-level elements.
Tip: widows:5 means that at least 5 lines must be visible below the page break.
Tip: See the orphans property to set or return the minimum number of lines for an element that must be visible at the bottom of a page.
0
Actually window is the place where the HTML is displayed and is not a part of dom
For Example:
----------+WINDOW+---------------
HTML--+|(Access to browser only)
CSS---+--|(Access to HTML design only)
JS---+-| (Access to window(60%)and DOM)
----------+WINDOW+---------------
SO YOU see window is the place where things are displayed and CSS has 0 Access to it as JS has some Access to it so because of it we can control the window just think the window as your phone ok
0
It is not window it is widow bro
0
thanks i learned a new property