RWD原理與應用-實作手機版面-模仿fb帳號頁面桌
How do I make an rwd原理與應用-實作手機版面-模仿fb帳號頁面桌?
What is a rwd原理與應用-實作手機版面-模仿fb帳號頁面桌? How do you make a rwd原理與應用-實作手機版面-模仿fb帳號頁面桌? This script and codes were developed by Eric on 29 October 2022, Saturday.
RWD原理與應用-實作手機版面-模仿fb帳號頁面桌 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>RWD原理與應用-實作手機版面-模仿fb帳號頁面桌面/手機板變化 </title> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Lato:100,300,400,700,700i,900'> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container"> <div class="topbar"><img class="icon" src="http://www.freeiconspng.com/uploads/images-facebook-f-logo-png-transparent-background-page-2-29.png"/> <input placeholder="搜尋人、地點、事物..."/> </div> <div class="cover"></div> <div class="midbar"> <div class="personimg"> <div class="names"> <h2 class="chtname">艾瑞克</h2> <h5 class="engname">(Eric Yang)</h5> </div> </div> </div> <div class="bottombar"> <p><i class="fa fa-cogs"></i><span>努力學習前端技能中<br></span><i class="fa fa-paint-brush"></i><span>前端美術設計師<br></span><i class="fa fa-university"></i><span>畢業於數位媒體設計學系<br></span><i class="fa fa-address-card-o"></i><span>現居新北市</span></p> </div>
</div>
</body>
</html>
RWD原理與應用-實作手機版面-模仿fb帳號頁面桌 - Script Codes CSS Codes
@charset "UTF-8";
* { font-family: "Lato", sans-serif, 微軟正黑體; vertical-align: middle; position: relative;
}
html, body { width: 100%; height: 100%; padding: 0; margin: 0; background-color: #E9EBEE;
}
.container { max-width: 1024px; margin: 0 auto;
}
.topbar { height: 50px; background-color: #3B5998;
}
.topbar .icon { height: 30px; margin: 10px;
}
.topbar input { width: 300px; height: 30px; margin: 10px; margin-left: 0; padding-left: 10px; border-radius: 5px; border: none;
}
.cover { height: 330px; background-image: url("https://d1dxkp3em4hfhe.cloudfront.net/wp-content/uploads/NationalTaiwanUniversity_A_01.jpg"); background-position: center center;
}
.midbar { height: 50px; background-color: #fff;
}
.midbar .personimg { width: 150px; height: 150px; background-image: url("http://petdogcat.net/archives/ducks01c.jpg"); background-size: cover; border: 4px solid #FFF; position: absolute; top: -130px; left: 20px;
}
.midbar .personimg .names { position: absolute; right: -130px; top: 50%; transform: translateY(-50%); color: #FFF;
}
.midbar .personimg .names h2, .midbar .personimg .names h5 { margin: 0; padding: 2px;
}
.midbar .personimg .names h2 { font-size: 30px;
}
.midbar .personimg .names h5 { font-size: 16px;
}
.bottombar { width: 35%; min-width: 300px; padding: 20px; font-size: 14px; line-height: 25px; margin-top: 10px; background-color: #fff; color: #555;
}
.bottombar i { width: 20px;
}
@media screen and (max-width: 800px) { .topbar { height: 60px; } .topbar .icon { height: 40px; } .topbar input { width: calc( 100% - 40px - 60px ); background-color: #2d4373; color: #FFF; } .midbar { height: 110px; } .midbar .personimg { width: 160px; height: 160px; left: 50%; transform: translateX(-50%); } .midbar .personimg .names { right: initial; left: 50%; top: 110%; transform: translateX(-50%); white-space: nowrap; color: #555; text-align: center; } .midbar .personimg .names h2, .midbar .personimg .names h5 { padding: 0; } .bottombar { width: 100%; margin: 0; box-sizing: border-box; } .bottombar p { border-top: 1px solid #a2a2a2; padding: 10px; font-size: 12px; }
}
Developer | Eric |
Username | ericyericy |
Uploaded | October 29, 2022 |
Rating | 3 |
Size | 4,256 Kb |
Views | 10,120 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
CSS resume | 6,784 Kb |
Vue add del | 2,236 Kb |
A Pen by Eric | 1,212 Kb |
NameCard | 2,801 Kb |
Transition-duration | 1,935 Kb |
Brand Guideline | 4,033 Kb |
Pen,pineapple,apple | 3,333 Kb |
Vue | 4,864 Kb |
V-on | 3,337 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
A Pen by Jay | Jaycode | 3,784 Kb |
Image Stack Test SCSS | CalvinMorett | 2,799 Kb |
Pagepilling.js | Blossk | 6,554 Kb |
Atom | Bhlaird | 1,932 Kb |
A Pen by Jonas Bjork | Jonasbjork | 3,115 Kb |
A Pen by Shidhin | Shidhincr | 5,015 Kb |
Three js | Paulq | 2,353 Kb |
Count checked checkboxes with jQuery | Mestika | 2,343 Kb |
Glitchy Text Effect | Kescoe | 2,208 Kb |
A vuejs widget | Chrgl86 | 2,869 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!