Skip to content

Commit 130f66a

Browse files
committed
Starter demo files for css / design.
1 parent b8586ed commit 130f66a

File tree

15 files changed

+927
-0
lines changed

15 files changed

+927
-0
lines changed

days/013-016-css-basics/demos/selectorville/.idea/jsLibraryMappings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
8+
<title>Intro to web design foundations demo</title>
9+
10+
<!-- Bootstrap core CSS -->
11+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
12+
13+
<!-- Custom styles for this scaffold -->
14+
<link href="static/css/theme.css" rel="stylesheet">
15+
<link href="static/css/site.css" rel="stylesheet">
16+
17+
</head>
18+
19+
<body>
20+
<h1 style="text-align:center;"><a href="index.html">Design Foundations: CSS Box Model</a></h1>
21+
<div class="content">
22+
23+
<div style="text-align: center;">
24+
<input class="form-control" type="text" id="margin" style="width: 120px; display: inline-block;"
25+
placeholder="margin (px)">
26+
<input class="form-control" type="text" id="padding" style="width: 120px; display: inline-block;"
27+
placeholder="padding (px)">
28+
<input class="form-control" type="text" id="border" style="width: 120px; display: inline-block;"
29+
placeholder="border (px)">
30+
<button class="btn btn-success">Set values</button>
31+
</div>
32+
<hr>
33+
<br>
34+
<div class="test_content">
35+
36+
<div class="outside">
37+
<div class="inside">
38+
<div class="contained">Content!</div>
39+
</div>
40+
</div>
41+
42+
<br>
43+
<div class="msg" style="text-align: center"></div>
44+
</div>
45+
</div>
46+
47+
<script src="http://code.jquery.com/jquery-3.3.1.min.js"></script>
48+
<script src="http://code.jquery.com/jquery-migrate-3.0.1.min.js"></script>
49+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" ></script>
50+
<script src="static/js/box.js"></script>
51+
</body>
52+
</html>
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
8+
<title>Intro to web design foundations demo</title>
9+
10+
<!-- Bootstrap core CSS -->
11+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
12+
13+
<!-- Custom styles for this scaffold -->
14+
<link href="static/css/theme.css" rel="stylesheet">
15+
<link href="static/css/site.css" rel="stylesheet">
16+
<link href="static/css/float.css" rel="stylesheet">
17+
18+
</head>
19+
20+
<body>
21+
22+
<div>
23+
<div id="top-div">
24+
<img src="static/img/dunecat.jpg" alt="">
25+
<div>This is a message</div>
26+
<div style="clear: both;"></div>
27+
</div>
28+
29+
<p>+1 kitsch tumeric kale chips. Prism bitters man braid, hell of godard wolf af fashion axe kombucha thundercats
30+
beard cred stumptown. Sriracha hella wayfarers pug fam stumptown kickstarter. Put a bird on it etsy try-hard
31+
gentrify kogi. Selvage stumptown vinyl everyday carry, iPhone trust fund microdosing banjo kitsch intelligentsia
32+
humblebrag keffiyeh sriracha kickstarter. Prism tattooed 8-bit offal fam glossier humblebrag, pug sustainable
33+
scenester everyday carry. Deep v gochujang echo park mixtape.</p>
34+
<a href="index.html">&#171; home</a>
35+
</div>
36+
37+
<script src="http://code.jquery.com/jquery-3.3.1.min.js"></script>
38+
<script src="http://code.jquery.com/jquery-migrate-3.0.1.min.js"></script>
39+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
40+
<script src="static/js/box.js"></script>
41+
</body>
42+
</html>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
8+
<title>Intro to web design foundations demo</title>
9+
10+
<!-- Bootstrap core CSS -->
11+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
12+
13+
<!-- Custom styles for this scaffold -->
14+
<link href="static/css/theme.css" rel="stylesheet">
15+
<link href="static/css/site.css" rel="stylesheet">
16+
17+
</head>
18+
19+
<body>
20+
<h1><a href="index.html">Design foundations demo app</a></h1>
21+
<div class="content">
22+
23+
<div>
24+
Here is a simple page where we can plan with some CSS ideas. We'll be covering:
25+
</div>
26+
<br>
27+
<ol>
28+
<li><a href="selectors.html">CSS selectors</a></li>
29+
<li><a href="box-model.html">CSS box model</a></li>
30+
<li><a href="layout.html">Layout</a></li>
31+
<li><a href="float.html">Floating items</a></li>
32+
</ol>
33+
34+
</div>
35+
36+
<script src="http://code.jquery.com/jquery-3.3.1.min.js"></script>
37+
<script src="http://code.jquery.com/jquery-migrate-3.0.1.min.js"></script>
38+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" ></script>
39+
</body>
40+
</html>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
8+
<title>Intro to web design foundations demo</title>
9+
10+
<!-- Bootstrap core CSS -->
11+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
12+
13+
<!-- Custom styles for this scaffold -->
14+
<link href="static/css/theme.css" rel="stylesheet">
15+
<link href="static/css/site.css" rel="stylesheet">
16+
<link href="static/css/layout.css" rel="stylesheet">
17+
18+
</head>
19+
20+
<body>
21+
22+
<ol>
23+
<li><a href="index.html">Home</a></li>
24+
<li><a href="selectors.html">CSS selectors</a></li>
25+
<li><a href="box-model.html">CSS box model</a></li>
26+
<li><a href="layout.html">Layout</a></li>
27+
<li><a href="float.html">Floating items</a></li>
28+
</ol>
29+
30+
<script src="http://code.jquery.com/jquery-3.3.1.min.js"></script>
31+
<script src="http://code.jquery.com/jquery-migrate-3.0.1.min.js"></script>
32+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" ></script>
33+
<script src="static/js/box.js"></script>
34+
</body>
35+
</html>

0 commit comments

Comments
 (0)