Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added study_group/sg_101919/For Exercises/bio.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 65 additions & 0 deletions study_group/sg_101919/For Exercises/demo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
* {
box-sizing: border-box;
font-family: 'Muli', sans-serif;
}

.wrapper {
width: 90vw;
margin: 50px auto;
padding: 30px;
border:10px double teal;
}

.bio-heading {
width: 350px;
margin: 30px auto;
}

img {
width: 100%;
height: auto;
margin-bottom: 30px;
box-shadow: 0 0 20px slategray;
}

/*make the image bigger when hovered*/
img:hover {
transform: scale(1.1);
transition: all 200ms ease;
}

h1 {
text-align: center;
animation: blink 3s infinite;
}

/*make the name change color*/
@keyframes blink {
0% {color: hotpink;}
50% {color: teal;}
100% {color: hotpink;}
}

hr {
position: relative;
width: 900px;
border: 1px solid teal;
animation: movehr 5s infinite;
}

/*make the hr move from left to right*/
@keyframes movehr {
0% {left: 0;}
25% {left: -180px;}
50% {left: 0;}
75% {left: 180px;}
100% {left: 0;}
}

.bio {
padding-top: 20px;
}

.bio p {
font-size: 20px;
}
36 changes: 36 additions & 0 deletions study_group/sg_101919/For Exercises/demo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<html lang="en">
<head>
<title>Demo: Slam Book</title>
<link href="https://fonts.googleapis.com/css?family=Muli&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./demo.css">
</head>

<body>
<main>
<div class="wrapper">
<div class="bio-heading">
<img src="./bio.jpg" alt="Image">
<h1>Ji-Anne Jose</h1>
</div>

<hr />

<div class="bio">
<p>Nickname: ________</p>

<p>Hobbies:</p>
<ul>
<li>Test</li>
<li>Test</li>
<li>Test</li>
</ul>

<p>Dream Destination: ___________</p>
<p>Favorite Color: _________</p>
<p>Favorite Singer: _________</p>
<p>Favorite Music Genre: _________</p>
</div>
</div>
</main>
</body>
</html>
38 changes: 38 additions & 0 deletions study_group/sg_101919/For Exercises/exercise.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<html lang="en">
<head>
<title>Slam Book</title>
<link href="https://fonts.googleapis.com/css?family=Muli&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./styles.css">
</head>

<body>
<main>
<div class="wrapper">
<div class="bio-heading">
<img src="./bio.jpg" alt="Image">
<h1>Ji-Anne Jose</h1>
</div>

<hr />

<div class="bio">
<p>Nickname: ________</p>

<p>Hobbies:</p>
<ul>
<li>Test</li>
<li>Test</li>
<li>Test</li>
</ul>

<p>Dream Destination: ___________</p>
<p>Favorite Color: _________</p>
<p>Favorite Singer: _________</p>
<p>Favorite Music Genre: _________</p>
</div>

</div>

</main>
</body>
</html>
60 changes: 60 additions & 0 deletions study_group/sg_101919/For Exercises/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
* {
box-sizing: border-box;
font-family: 'Muli', sans-serif;
}

.wrapper {
width: 90vw;
margin: 50px auto;
padding: 30px;
border:10px double teal;
}

.bio-heading {
width: 350px;
margin: 30px auto;
}

img {
width: 100%;
height: auto;
margin-bottom: 30px;
box-shadow: 0 0 20px slategray;
}

img:hover {
/**** #1 ****/
/*make the image bigger when hovered*/
}

/**** #2 ****/
/*make the name change color*/
h1 {
text-align: center;
animation: blink 3s infinite;
}


@keyframes blink {
/*put your animation here*/
}

/**** #3 ****/
/*make the hr move sideways*/
hr {
position: relative;
width: 900px;
border: 1px solid teal;
/*?*/
}

/*?????*/


.bio {
padding-top: 20px;
}

.bio p {
font-size: 20px;
}
21 changes: 21 additions & 0 deletions study_group/sg_101919/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<html lang="en">
<head>
<title>CSS Animation</title>
<link rel="stylesheet" href="./styles.css">
</head>

<body>
<main>
<div class="wrapper">
<div class="image-container">
<img src="./shoe.jpg" alt="Shoe">
</div>
</div>

<div class="wrapper">
<div class="wheel">
</div>
</div>
</main>
</body>
</html>
Binary file added study_group/sg_101919/shoe.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 65 additions & 0 deletions study_group/sg_101919/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
* {
box-sizing: border-box;
margin: 0;
line-height: 0;
}

main {
margin: 100px 200px;
}

.wrapper {
margin: 200px auto;
}

.image-container {
width: 200px;
height: 200px;
}

.image-container:hover {
/*width: 220px;*/
/*height: 220px;*/

/*transform: scale(1.2);*/

/*transform: rotate(25deg);*/

/*transform: skew(-25deg);*/

/*transform: translate(50px, 50px);*/

/*transform: matrix(1, 0, 0.5, 1, 150, 0);*/

transition: all 200ms ease-in-out;
}

img {
width: 100%;
box-shadow: 6px 6px 10px slategray;
}

.wheel {
width: 100px;
height: 100px;
border: 10px solid teal;
/*animation: spinit 5s infinite;*/
}

/*@keyframes spinit {*/
/* 0% {*/
/* transform: rotate(0deg);*/
/* }*/
/* 25% {*/
/* transform: rotate(180deg) scale(0.4);*/
/* }*/
/* 50% {*/
/* transform: rotate(360deg);*/
/* }*/
/* 75% {*/
/* transform: rotate(180deg) scale(0.4);*/
/* }*/
/* 100% {*/
/* transform: rotate(0deg);*/
/* }*/
/*}*/