(Tuesday) March 1
- Weather forecast Towson : Cloudy, 55°F - 38°F
*CHECK HOMEWORK*
Talk about Student Pages:
https://ryansmithart.com/2022/365/students.html
NOTE: Let's open up Adobe Dreamweaver & Photoshop
****changing the background with CSS
....... CSS3:
html{
height:100%;
overflow-y: scroll;
background: url(images/bg.gif) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
* Google fonts *
Center divs using CSS:
#wrap{
text-align:left;
max-width:1000px;
min-width:600px;
margin-left:auto;
margin-right:auto;
width:60%;
background-color:white;
padding:10px;
}
img { border: solid #000 10px; }
this applies to every image tag in the HTML document
.classy { color: red; }
this applies to a CSS class called classy.
<span class="classy" > Example of classy red text </span>
#about { background-color: #ccc; }
This rule applies to just the specific element that has an ID value of about:
HOMEWORK:
Keep working on "PROJECT #1"
*Have some HTML pages completed with CSS code :)
Project due date: Tuesday, March 8