CSS and height of the elements

123
January 01, 2020, at 10:50 PM

How can I set the height of the div-s in my SPA app so that the following criteria will be met (black and red borders are just for the representation purposes):

  1. Black border: everything within it must fit the size of the screen and not extend further - vertical scrolling is only possible within div4.
  2. The red boxes in each view must be of the same height and aligned (like in the picture).

READ ALSO
break-before, break-after, and break-inside do nothing

break-before, break-after, and break-inside do nothing

I'm trying to keep an element from getting cut in half when I print the page, but for some reason the CSS properties break-before, break-inside, and break-after do absolutely nothingI've tried every combination of them I can think of on several elements...

107
Mix-Blend mode doesn't work on custom cursor

Mix-Blend mode doesn't work on custom cursor

I would like to add a mix-blend-mode: difference to the inner cursor, but I can't get it to workI heard that the position: fixed applied to the cursor may cause the problem here

232
HTML, CSS, JavaScript modal and many pages

HTML, CSS, JavaScript modal and many pages

I have an HTML page that has a modal popup window on itThe page has Javascript and CSS and works fine

87