-
Notifications
You must be signed in to change notification settings - Fork 0
/
BEM.html
188 lines (166 loc) · 4.69 KB
/
BEM.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!doctype html>
<html lang="en">
<head>
<title>BEM Stylesheet</title>
<link rel="stylesheet" href="bemcss.css">
</head>
<style>
</style>
<body>
<header>
<div class="brand">
<img src="workingcoffee.png" height=100px; /></a>
</div>
<div class="navigation">
<ul class="nav-bar">
<li><a href="wireframes.html">To Wireframes</a></li>
<li><a href="Components.html">To Components Section</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-8">
</header>
<h1 align="center"> BEM Stylesheet</h1>
<pre>
<code class="basic">
<!DOCTYPE html>
<html lang="en">
<head>
<title>BEM Stylesheet</title>
</head>
<body>
</body>
</html>
</pre>
</code>
<h1>Below is Styling for classes/h1.</h1>
<pre>
<code class="style">
<style>
.basic
{font-style:sans-serif;font-size:24px;
background-color:lightblue;
}
h1
{font-family:"Montserrat";font-size:30px;
border-bottom:10px solid blue;
}
.style
{font-style:"serif";font-size:20px;
}
.body
{font-Family:"Times New Roman";font-size:20px;
}
.title
{text-align:center; font-size:35px;
}
</style>
<div class="Headers">
<table class="table">
<tr>
<td><h1>h1. Heading</h1></td>
<td>size 30px;</td>
</tr>
<tr>
<td><h2>h2. Heading</h2></td>
<td>size 25px; </td>
</tr>
<tr>
<td><h3>h3. Heading</h3></td>
<td>size 20px;</td>
</tr>
<tr>
<td><h4>h4. Heading</h4></td>
<td>size 15px;</td>
</tr>
</table
</pre>
</code>
<h1> Below is coding for navigation. </h1>
<pre>
<code class="nav">
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#menu">Menu</a></li>
<li><a href="#calendar">Calendar</a></li>
<li><a href="#jobs">Jobs</a></li>
</ul>
ul {
list-style-type: none;
margin: 0;
padding: 0;
width: 200px;
background-color:white;
}
li a {
display: block;
color: black;
padding: 8px 16px;
text-decoration: none;
}
li a.nav{
background-color:green;
color: white;
}
li a:hover:not(.nav) {
background-color:black;
color: white;
}
</pre>
</code>
</div>
<h1>Below is an example of what the body text will look like.</h1>
<pre>
<code class="body">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
In fringilla placerat tortor, molestie ultricies risus consequat sit amet.
Fusce non sapien et libero facilisis commodo.
Pellentesque id massa odio.
Cras iaculis, tellus quis facilisis fermentum, tellus orci mollis dui, nec tempus tortor nulla at purus.
Phasellus imperdiet vitae diam et bibendum. Nam in sem eu lectus euismod ullamcorper.
Vestibulum varius mollis erat sed volutpat.
</pre>
</code>
<pre>
<code class="list">
<h2>Lists</h2>
<h3>Ordered List</h3>
<div class="sample">
<ol>
<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li>
<li>Phasellus lacinia dui id lacus scelerisque maximus.</li>
<li>Duis porttitor turpis eget eros accumsan aliquet.
<ol>
<li>Quisque pellentesque lacus sit amet ex volutpat venenatis.</li>
<li>Sed ornare velit vitae sem mollis molestie.</li>
</ol>
</li>
<li>Aenean quis nibh rutrum, hendrerit nunc sit amet, condimentum dui.</li>
</ol>
<pre>
<code>
<ol>
<li>...</li>
</ol>
<h3>Unordered List</h3>
<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li>
<li>Phasellus lacinia dui id lacus scelerisque maximus.</li>
<li>Duis porttitor turpis eget eros accumsan aliquet.
<li>Quisque pellentesque lacus sit amet ex volutpat venenatis.</li>
<li>Sed ornare velit vitae sem mollis molestie.</li>
</li>
<li>Aenean quis nibh rutrum, hendrerit nunc sit amet, condimentum dui.</li>
<pre>
<code>
<ul>
<li>...</li>
</ul>
</code>
</pre>
</div>
</body>
</html>