Skip to content

Commit f287b9c

Browse files
authored
Merge pull request #1 from girldevelopit/CSS-1
CSS-1
2 parents 078befa + 2c6457d commit f287b9c

40 files changed

+2139
-0
lines changed

intro-css-animation/README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Course Information
2+
3+
This README file should contain course details, outline, guidelines, tips etc for instructors--essentially what instructors will need to run the course "out of the box".
4+
5+
<hr>
6+
7+
_(Course slides are hosted at: https://morganejla.github.io/gdi-intro-css-animation/)_
8+
9+
## Course Description
10+
11+
This course is an Intro to CSS Animations. It's divided into two parts, the first part is breaking down the transition and transform properties, and the second part is intro to Animation and keyframes. There is a section on accessibility media queries that the students can read further on in the course. There is a brief intro to the clip-path at the end of the course.
12+
13+
## Course Objectives
14+
15+
The Objectives of this course is to introduce students to the transition and animation properties. There is a lot of hands-on in this course, as well as a lot of repetition, in order to reinforce the properties. The objective is to have the students be comfortable using some animation in their projects.
16+
17+
## Course Outline
18+
19+
- Intro to transitions & transforms
20+
- breakdown of each of the properties in codepen.io
21+
- a project where we can put the several of the properties learned, all together.
22+
- Intro to animations & keyframes,
23+
- breakdown of each of the properties in codepen.io
24+
- a project where we can put the properties learned, all together.
25+
- intro to the clip path and a brief exercise.
26+
- overview on resources for after the course.
27+
28+
29+
## Suggested Exercises
30+
31+
- demo of all of the properties.
32+
- in class two review the previous lesson with links to previous codepens for reference.
33+
You can create new a new exercise with links to the previous codepends.
34+
- code along on to a project to use outside of class.
35+
36+
## Resources
37+
- MDN Web Docs
38+
- CSS Tricks
39+
- Clippy
40+
- Cupcake Ipsum
41+
- codepen.io
42+
- webdev
43+
For Accessibility Demo
44+
- https://webkit.org/blog-files/prefers-reduced-motion/prm.htm
45+
46+
47+
## FAQs-Notes-Tips
48+
49+
Lines changed: 207 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,207 @@
1+
@font-face {
2+
font-family: Gotham-Round;
3+
src: local('Gotham-Round'),
4+
url(../fonts/gothamrnd-light-webfont.ttf) format('truetype');
5+
font-weight: 400;
6+
font-style: normal;
7+
}
8+
9+
.reveal,
10+
body {
11+
font-family: Gotham-Round, sans-serif;
12+
}
13+
14+
.reveal h1,
15+
.reveal h2,
16+
.reveal h3,
17+
.reveal h4,
18+
.reveal h5,
19+
.reveal h6 {
20+
font-family: Gotham-Round, sans-serif;
21+
margin: 0 0 20px;
22+
color: #f05b62;
23+
line-height: 1.25em;
24+
text-transform: none;
25+
}
26+
27+
.reveal h1 {
28+
font-size: 2.33331em;
29+
}
30+
.reveal h2 {
31+
font-size: 1.73332em;
32+
}
33+
.reveal h3 {
34+
font-size: 1.33332em;
35+
}
36+
.reveal h4 {
37+
font-size: 0.99999em;
38+
}
39+
.reveal h5 {
40+
font-size: 0.66666em;
41+
}
42+
.reveal h6 {
43+
font-size: 0.33333em;
44+
}
45+
.reveal p,
46+
.reveal table {
47+
font-size: 0.75em;
48+
}
49+
.reveal p {
50+
margin: 15px 0;
51+
}
52+
53+
::-moz-selection {
54+
color: #fff;
55+
background: #ff5e99;
56+
text-shadow: none;
57+
}
58+
59+
::selection {
60+
color: #fff;
61+
background: #ff5e99;
62+
text-shadow: none;
63+
}
64+
65+
.reveal a:not(.image) {
66+
color: #01a9b4;
67+
text-decoration: none;
68+
transition: color 0.15s ease;
69+
}
70+
71+
.reveal a:not(.image):hover {
72+
color: #f9b8bb;
73+
text-shadow: none;
74+
border: none;
75+
}
76+
77+
.reveal .roll span:after {
78+
color: #fff;
79+
background: #01a9b4;
80+
}
81+
82+
.reveal section img {
83+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
84+
transition: all 0.2s linear;
85+
max-height: 500px;
86+
max-width: 80%;
87+
}
88+
89+
.reveal a:hover img {
90+
background: hsla(0, 0%, 100%, 0.2);
91+
border-color: #01a9b4;
92+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
93+
}
94+
95+
.reveal section img.noborder {
96+
border-width: 0;
97+
box-shadow: none;
98+
}
99+
100+
.reveal .controls {
101+
color: #01a9b4;
102+
}
103+
104+
.reveal .progress span {
105+
background: #01a9b4;
106+
transition: width 0.8s cubic-bezier(0.26, 0.86, 0.44, 0.985);
107+
}
108+
109+
.flex {
110+
display: flex;
111+
justify-content: space-around;
112+
flex-wrap: wrap;
113+
}
114+
.flex .cta {
115+
width: 40%;
116+
margin: 10px 0;
117+
}
118+
.reveal .cta {
119+
display: inline-block;
120+
padding: 20px;
121+
color: #d8ae64;
122+
border-radius: 6px;
123+
background-color: #01a9b4;
124+
text-transform: uppercase;
125+
font-size: 0.6em;
126+
letter-spacing: 1px;
127+
font-weight: bold;
128+
}
129+
130+
.reveal .cta:not(.image) {
131+
color: #fff;
132+
transition: background-color 1s ease;
133+
}
134+
135+
.reveal .cta:not(.image):hover {
136+
background-color: #2a4758;
137+
color: #fff;
138+
}
139+
140+
.reveal .cta.inactive {
141+
background: #333;
142+
}
143+
.reveal .inactive {
144+
pointer-events: none;
145+
}
146+
147+
.reveal footer {
148+
position: fixed;
149+
width: 100%;
150+
bottom: 0;
151+
left: 0;
152+
}
153+
154+
.reveal footer .copyright {
155+
font-size: 0.75rem;
156+
padding: 0 10px;
157+
}
158+
159+
.reveal footer .copyright img,
160+
.reveal footer .copyright a img {
161+
margin: 5px 0;
162+
}
163+
164+
.reveal footer .copyright p {
165+
margin: 0;
166+
}
167+
168+
.reveal pre {
169+
font-size: 0.5em;
170+
margin: 15px auto;
171+
line-height: 1em;
172+
}
173+
174+
.reveal small {
175+
font-size: 0.5em;
176+
}
177+
178+
.reveal .slide-number {
179+
background-color: rgba(0, 0, 0, 0.2);
180+
}
181+
182+
ol,
183+
ul {
184+
font-size: 0.8em;
185+
line-height: 1.75;
186+
}
187+
188+
.left-align {
189+
text-align: left;
190+
}
191+
192+
.flex-container {
193+
display: flex;
194+
justify-content: space-between;
195+
}
196+
197+
.flex-item {
198+
flex-basis: 48%;
199+
}
200+
201+
.reveal section > .flex-container img {
202+
max-width: 100%;
203+
}
204+
205+
.flex-item img {
206+
margin: 0;
207+
}
60.1 KB
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SIL Open Font License (OFL)
2+
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@font-face {
2+
font-family: 'League Gothic';
3+
src: url('./league-gothic.eot');
4+
src: url('./league-gothic.eot?#iefix') format('embedded-opentype'),
5+
url('./league-gothic.woff') format('woff'),
6+
url('./league-gothic.ttf') format('truetype');
7+
8+
font-weight: normal;
9+
font-style: normal;
10+
}
25.1 KB
Binary file not shown.
62.8 KB
Binary file not shown.
Binary file not shown.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
SIL Open Font License
2+
3+
Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name ‘Source’. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
4+
5+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
6+
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
7+
8+
—————————————————————————————-
9+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10+
—————————————————————————————-
11+
12+
PREAMBLE
13+
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
14+
15+
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
16+
17+
DEFINITIONS
18+
“Font Software” refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
19+
20+
“Reserved Font Name” refers to any names specified as such after the copyright statement(s).
21+
22+
“Original Version” refers to the collection of Font Software components as distributed by the Copyright Holder(s).
23+
24+
“Modified Version” refers to any derivative made by adding to, deleting, or substituting—in part or in whole—any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
25+
26+
“Author” refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
27+
28+
PERMISSION & CONDITIONS
29+
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
30+
31+
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
32+
33+
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
34+
35+
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
36+
37+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
38+
39+
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
40+
41+
TERMINATION
42+
This license becomes null and void if any of the above conditions are not met.
43+
44+
DISCLAIMER
45+
THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file not shown.

0 commit comments

Comments
 (0)