Mon Nov 23 08:05:00 AM PST 2020
First the HTML page must know about the css. There are three ways for this to happen that I’m aware of. You can put css in the document but I believe this is a bad idea. You can also do some css in the header of the file. This is sometimes ok to do. Last, and the preferred option is to have separate css files and tell the HTML file where to find them in the header. It looks something like this:
<html>
<head>
<link rel="stylesheet" type="text/css" href="CssFile.css">
<title> Test Page </title>
</head>
-> at the moment I’m having trouble getting the browser to acknowledge my css. -> I take it back The program sees it I just need to learn to read the inspector better.
-> flexbox works from the content out.
-> Grid works from the layout in. When you use CSS Grid Layout you create a layout and then you place items into it, or you allow the auto-placement rules to place the items into the grid cells according to that strict grid. It is possible to create tracks that respond to the size of the content, however, they will also change the entire track.
-> Box Alignment Level
minnmax()
GRID LINES When defining a grid you define the track no the lines. Grid then gives up numbered lines to work with.
adding Display to a box makes it dispear and leaves the content to act as they will.
z-index controls the order overlapping things show up ie. who’s on top.