Pronoia by Amanda Sage, acrylic painting, 2013
Week #6
div.sticky {
position: -webkit-sticky;
position: sticky;
top: 0;
}
- UPLOADING
- How the web works
*CHECK HOMEWORK*
Talk about Student Pages:
https://ryansmithart.com/2024/students.html
REVIEW:
html{
height:100%;
overflow-y: scroll;
background: url(bg.png) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
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;
}
review:
*z-index
CSS POSITIONING
Positioning: W3schools
<link href="proj1.css" rel="stylesheet" >
** OPEN WEEK6_2023.zip (205 kb.) **
blindTextGenerator.com/Lorem-Ipsum
CSS:
*Fixed Full-height "Side Nav"
(Vertical Fixed)
- <ul>
& <li>
- Navigation bars
- CSS OPACITY AND TRANSPARENCY
- CSS Class and ID
- CSS Navigation
.zoom img{
transition: transform .2s;
margin: 0 auto;
}
.zoom img:hover {
-ms-transform: scale(1.5);
/* IE 9 */
-webkit-transform: scale(1.5);
/* Safari 3-8 */
transform: scale(1.5);
}
.gal img{
padding:10px;
text-decoration:none;
}
.gal .opac img {
opacity: 0.5;
}
.gal img:hover {
opacity: 1.0;
}
...What's jQuery?
lightBox: lightbox-plus-jquery.min.js
Things you need (for lightBox :)
*Make sure you have prev.png, next.png, close, etc... in an "images" folder saved as images
/* css: ( put this in your <head> section...) */
<link href="css/lightbox.css" rel="stylesheet">
// js: ( put this above your "closing" </body> tag! )
<script src="js/lightbox-plus-jquery.min.js"></script>
<!-- html images: -->
<a href="1.jpg" data-lightbox="visionary" data-title="Art by Amanda Sage">
<img src="1.jpg"></a>
<a href="2.jpg" data-lightbox="visionary" data-title="Art by Olga Klimova">
<img src="2.jpg"></a>
talk about Project #1
HOMEWORK:
* FINISH PROJECT #1 *
Due next class- 6:00pm
Remember...
Required materials for this class:
(1) a flash drive or hard drive: 2GB or more
(some external device to store your work on)
(2) *Personal Web Space (Towson user accounts are fine)
(3) a sketchbook, something not too big, about 8x10 inches
(for notes and sketches)
(4) something to write & make drawings with
Visit Towson U | 8000 York Rd, Towson, MD 21252
Visit the Chambers Project (California)