Skip to content

Commit

Permalink
EMMET学习第一次提交
Browse files Browse the repository at this point in the history
  • Loading branch information
webpig authored Feb 27, 2017
1 parent 587b90d commit 12eaaef
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 0 deletions.
63 changes: 63 additions & 0 deletions homepage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>首页 -- Semantic UI</title>
<link rel="stylesheet" href="https://cdn.bootcss.com/semantic-ui/2.2.7/semantic.min.css">
<style>
.hidden.menu {
display: none;
}
.masthead.segment {
min-height: 700px;
padding: 1em -0em;
}
.masthead .logo.item img {
margin-right: 1em;
}
.masthead .ui.menu .ui.button {
margin-left: 0.5em;
}
.masthead h1.ui.header {
margin-top: 3em;
margin-bottom: 0em;
font-size: 4em;
font-weight: normal;
}
.masthead h2 {
font-size: 1.7em;
}
.ui.vertical.stripe {
padding: 8em 0em;
}
</style>
</head>
<body>
<div class="ui large top fixed hidden menu">
<div class="ui container">
<a href="#" class="item">Home</a>
<a href="#" class="item">Work</a>
<a href="#" class="item">Company</a>
<a href="#" class="item">职位</a>
<div class="right menu">
<div class="item">
<a href="#" class="ui button">Login in</a>
</div>
<div class="item">
<a href="#" class="ui primary button">Sign up</a>
</div>
</div>
</div>
</div>
<div class="ui vertical inverted sidebar menu">
<a href="#" class="active item">Home</a>
<a href="#" class="item">Work</a>
<a href="#" class="item">Company</a>
<a href="#" class="item">Careers</a>
<a href="#" class="item">Login</a>
<a href="#" class="item">Signup</a>
</div>
</body>
</html>
52 changes: 52 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://cdn.bootcss.com/semantic-ui/2.2.7/semantic.min.css">
<title>Document</title>
<style>
body{
background-color: #fff;
}
body > .grid{
height: 100%;
}
.image{
margin-top: -100px;
}
.column{
max-width: 450px;
}
</style>
</head>
<body>
<div class="ui middle aligned center aligned grid">
<div class="column">
<h2 class="ui teal image header">
<img class="image" src="http://ac-pfv5xzae.clouddn.com/9ba209488bf40c750184.png" alt="" class="image">
<div class="content">使用您的账号登录</div>
</h2>
<form action="" class="ui large form">
<div class="ui stacked segment">
<div class="field">
<div class="ui left icon input">
<i class="user icon"></i>
<input type="text" name="email" placeholder="E-mail Address">
</div>
</div>
<div class="field">
<div class="ui left icon input">
<i class="lock icon"></i>
<input type="text" placeholder="Password">
</div>
</div>
<div class="ui fluid large teal submit button">登录</div>
</div>
</form>
<div class="ui message">新用户?<a href="#">注册</a></div>
</div>
</div>
</body>
</html>

0 comments on commit 12eaaef

Please sign in to comment.