美文网首页
一个漂亮的网站个人主页

一个漂亮的网站个人主页

作者: _浅墨_ | 来源:发表于2021-04-01 14:33 被阅读0次

一、style.css :

body {
  margin: 0;
  text-align: center;
  font-family: 'Merriweather', serif;
  color: #40514E;
}

h1 {
  margin: 50px auto 0 auto;
  font-family: 'Sacramento', cursive;
  font-size: 5.625em;
  color: #66BFBF;

}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  color: #66BFBF;
  font-weight: normal;
  padding: 10px;


}

h3 {
  font-family: 'Montserrat', sans-serif;
  color: #11999E;
}

hr {
    border-style: none;
    border-top-style: dotted;
    border-color: #EAF6F6;
    border-width: 5px;
    width: 4%;
    margin: 100px auto;
}


p{
  line-height: 2;
}

.top {
  /*height: 200px; */
  /*width: 200px; */
  /*padding: 20px; */
  /* margin: 10px; */
  background-color: #e6f8f9;
  /*border: solid 10px; */
  position: relative;
  padding-top: 100px;
}

.middle {
  margin : 100px 0;
}

.bottom {
  background-color: #66BFBF;
  padding: 50px 0 20px;
}

.ul {
  text-decoration: underline;
}

a{
  color: #11999E;
  font-family: 'Merriweather', serif;
  margin: 10px 20px;
  text-decoration: none;
}

a:hover{
  color: #EAF6F6;
}


.top-cloud {
  position: absolute;
  right: 300px;

}

.bottom-cloud {
  position: absolute;
  left: 300px;
/*  bottom: 300px; */
}

.skill-row{
  width: 50%;
  margin: 100px auto 100px auto;
  text-align: left;

}

.code-img {
  width: 25%;
  float: left;
  margin-right: 30px;
}

.information-img {
  width: 25%;
  float: right;
  margin-left: 30px;
}

.me-img{
  width: 15%;
  margin: 30px;
}

.contact-message{
  width: 40%;
  margin: 40px auto 60px;
}

.intro{
  width: 30%;
  margin: auto;
}

.btn {
  background: #30e3cb;
  background-image: -webkit-linear-gradient(top, #30e3cb, #2bc4ad);
  background-image: -moz-linear-gradient(top, #30e3cb, #2bc4ad);
  background-image: -ms-linear-gradient(top, #30e3cb, #2bc4ad);
  background-image: -o-linear-gradient(top, #30e3cb, #2bc4ad);
  background-image: linear-gradient(to bottom, #30e3cb, #2bc4ad);
  -webkit-border-radius: 8;
  -moz-border-radius: 8;
  border-radius: 8px;
  font-family: 'Merriweather', serif;
  color: #ffffff;
  font-size: px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

.btn:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
}

.copyright{
  color: #EAF6F6;
  font-size: 0.75rem;
  padding: 20px 0;
}

二、index.html:

<!DOCTYPE html>
<html lang="en" dir="ltr">

<head>
  <meta charset="utf-8">
  <title>Isaac Attuah</title>
  <link rel="stylesheet" href="css/style.css">
  <link rel="icon" href="favicon1.ico">
  <link href="https://fonts.googleapis.com/css?family=Merriweather|Montserrat|Noto+Sans+HK|Sacramento&display=swap" rel="stylesheet">
</head>

<body>
  <div class="top"> <!--Divide content for structuring. They do not do anything unless CSS -->
    <img src="images/cloud.png" alt="cloud-img" class ="top-cloud">
    <h1>I'm Isaac.</h1>
    <h2>a <span class = "ul">pro</span>grammer.</h2>
    <img src="images/cloud.png" alt="cloud-img" class ="bottom-cloud">
    <img src="images/mountain.png" alt="mountain-img">
  </div>

  <div class="middle">
    <div class="profile">
      <img src="images/me.png" alt="me-img" class="me-img">
      <h2>Hello.</h2>
      <p class ="intro">I'm a rising sophmore studying Computer Science at the University of Miami. I have a passion for building simple technological solutions to everyday problems.</p>
    </div>
    <hr>
    <div class="skills">
      <h2>My Skills.</h2>
      <div class="skill-row">
        <img class="code-img" src="images/code.png" alt="">
        <h3>Design and Development</h3>
        <p>I've been coding since I was ten and in my short time as a beginner programmer, I have built mini projects,scripts and games using languages such as HTML, CSS, Processing and Java</p>
      </div>
      <div class="skill-row">
        <img class="information-img" src="images/information.png" alt="">
        <h3>Information Technology</h3>
        <p>I provide advice and technology tips to individuals to make their computer workflow faster</p>
      </div>
    </div>
    <hr>
    <div class="contact-me">
      <h2>Get In Touch</h2>
      <h3>I am currently free for freelance work.</h3>
      <p class="contact-message">If you need help with any programming or web based project, don't hesitate to send me a message.</p>
      <a class="btn" href="mailto:name@email.com">CONTACT ME</a>
    </div>
  </div>


  <div class="bottom">
    <a class="footer-link" href="https://www.linkedin.com/isaacattuah">LinkedIn</a>
    <a class="footer-link" href="https://twitter.com/isaacattuah">Twitter</a>
    <a class="footer-link" href="https://www.brandafrik.com/">Website</a>
    <p class="copyright">© 2019 Isaac Attuah.</p>
  </div>

</p>
</body>

</html>

三、项目地址

CssDemoSite

四、最终效果:

相关文章

  • 一个漂亮的网站个人主页

    一、style.css : 二、index.html: 三、项目地址 CssDemoSite[https://gi...

  • 技能 | 绑定码云自定义域名,让网站轻松上线!

    码云 Pages 是一个基于Jekyll静态网站服务,可以用它来制作个人博客、简历、项目主页、个人主页等等。具体的...

  • 「每日开方」 汉仪字体

    一个很漂亮的字体网站 今天的“每日开方”,晓公子推荐一个挺漂亮的字体网站——汉仪字库 有兴趣的同学可以去看看,但要...

  • 我能教你什么?

    主要是以下这几个方面: QQ:刷钻,各种技巧,名片赞,访客等 网站:网站搭建,秒赞网,代挂网,个人主页,博客等 图...

  • markdown个人主页

    先打开网站学习html代码,学习代码对应的网站文字字体颜色排版格局等,然后自己先设计出个人主页的模型,然后根据这个...

  • 漂亮背景网站

    https://unsplash.com/

  • PHP_京东数据采集

    为什么要做数据采集?? 我是一个做网站开发的程序员,做一个网站想要我的网站好看,网站内容 充 实,让网站更加漂亮。...

  • 良仓项目总结

    需求分析:作为一个电商网站,至少要有以下几个页面:主页、商品详情页、商品分类页、个人主页、登录、注册、购物车、结算...

  • 网站说服力就是把访客变成买家

    如果你所有的注意力都集中在网站的设计、颜色和字体上,那么就会有一个巨大的风险,网站会被视为“漂亮的脸蛋”,仅仅漂亮...

  • HTML的20/80原则

    侯爵老师的课堂笔记 网站的结构 html、css、javascript 为了搭一个漂亮的网站,建筑工html,装修...

网友评论

      本文标题:一个漂亮的网站个人主页

      本文链接:https://www.haomeiwen.com/subject/nhfeaktx.html