新闻网站项目静态页面--个人资料页

外联css profile.css:

body{
    background-image:url(../images/login/backgroundimg.png);
    background-size: cover;
    background-repeat: no-repeat;
}
.ui.basic.segment.container.content{
  width: 425px;

  margin-left: 50%;
  margin-top: 389px;
}

.ui.header{
  color:red;
  font-size: 50px !important;
  height: 75px;
}
input{
    border-radius: 31.5px!important;
    height: 31px!important;
    background-color: #ffffff!important;
    border: solid 1px #ededed!important;
}
.field{
  position: relative;
}
.ui.image.top{
  position: absolute;
  left: -20px;
  top:10px;
}
.ui.red.button.register{
  border-radius: 32px;
  height: 30px;
  width: 400px;
  padding-top: 8px;
}
.ui.basic.segment.container.footer{
  position: relative;
  margin-top: 150px;
}
.ui.circular.red.button.backtoindex{
  width: 31px!important;
  height: 62px;
  border-radius: 15.5px;
  background-color: #f30c28;
  position: absolute;
  transform: translate(-50%,-50%);
  left: 50%;
  top:30px;
  padding: 0;
}
img{
  margin-left: 2px;
}
h4{
    font-size: 12px!important;
    color: #ffffff;
    margin-left: 2px;
}
.ui.image.title{
  position: relative;
  transform: translate(-50%);
  left: 50%;
  top:45px;
}

html文件:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>注册页</title>
    <link rel="stylesheet" href="css/semantic.css" media="screen" title="no title" charset="utf-8">
    <link rel="stylesheet" href="css/register.css" media="screen" title="no title" charset="utf-8">
  </head>
  <body>
    <div class="ui basic segment container content">
      <h1 class="ui center aligned header">个人资料修改</h1>
      <div class="ui form">
        <span style="font-size: 12px;color: #9b9b9b;">选择头像</span>
        <div class="field">
          <div class="ui five column grid">
            <div class="column">
              <div class="ui red image useravatar" style="border:3px solid red;border-radius:8px;">
                <img src="images/profile/fav1.png"  />
              </div>
            </div>
            <div class="column">
              <div class="ui image useravatar">
                <img src="images/profile/fav2.png"  />
              </div>
            </div>
            <div class="column">
              <div class="ui image useravatar">
                <img src="images/profile/fav3.png"  />
              </div>
            </div>
            <div class="column">
              <div class="ui image useravatar">
                <img src="images/profile/fav4.png"  />
              </div>
            </div>
            <div class="column">
              <div class="ui image useravatar">
                <img src="images/profile/fav5.png"  />
              </div>
            </div>
          </div>
        </div>
        <div class="field">
          <div class="ui  image top">
            <img src="images/login/usericon.png"  />
          </div>
          <input type="text" placeholder="用户名">
        </div>
        <div class="field">
          <div class="ui  image top">
            <img src="images/login/checkboxicon.png"  />
          </div>
          <input type="text" placeholder="注册邮箱">
        </div>
        <div class="field">
          <div class="ui  image top">
            <img src="images/login/lockicon.png"  />
          </div>
          <input type="text" placeholder="密码">
        </div>
        <div class="field">
          <div class="ui  image top">
            <img src="images/login/lockicon.png"  />
          </div>
          <input type="text" placeholder="确认密码">
        </div>
        <div class="field">
          <button type="button" class="ui red button register">完成</button>
        </div>
      </div>
    </div>
    <div class="ui basic segment container footer">
      <div class="bottom">
        <div class="ui divider"></div>
        <button type="button" name="button" class="ui circular red button backtoindex">
            <img src="images/login/homeicon.png" style="position:absolute;left:18%;top:10%;">
            <h4>首页</h4>
        </button>
        <div class="ui image title">
            <img src="images/login/zhiribao.png"  />
        </div>
      </div>
    </div>
  </body>
</html>

时间: 2024-08-02 06:54:29

新闻网站项目静态页面--个人资料页的相关文章

新闻网站项目静态页面-分类页

外联css category.css: .ui.red.basic.segment.topmenu{ height: 100px; padding-left:140px; padding-right: 140px; border-bottom: 1px solid rgb(189, 189, 189); } .ui.borderless.menu.container > .item > a{ color: black; font-weight: bold; } .ui.basic.segmen

新闻网站项目静态页面--登录页

外联css login.css: body{ background-image:url(../images/login/backgroundimg.png); background-size: cover; background-repeat: no-repeat; } .ui.basic.segment.container.content{ width: 425px; margin-left: 50%; margin-top: 389px; } .ui.header{ color:red; f

用phpcms如何将静态页面制作成企业网站(下)

上篇讲到了子页部分 这样的 有分页选择 列表项的代码部分 最后输出变量pages就可以了 看一下运行的效果 点击下一页 再来改一下子页显示的样式 点击人才将会出来的一个子页面 路径要统一 再来更改后台管理的设置 运行后点击人才 再来看如何更改内容页 点开,里面的内容就是内容页 静态页面的内容页是这样的 把静态的内容页面放入content文件中,内容页的名字是show.html 然后刷新页面,再点击内容页就是这样的一个页面了 说明这个模板已经成功拿进来了,但是现在还是静态页面,现在要把他改成动态的

HTML5+CSS3静态页面项目-PayPaul的总结

学习前端有一段时间了,一直在看书上的理论知识,而实战项目却很少.师兄常说,想要知道自己的实力有多少,知识掌握了多少,最好的方法就是去实践了,实践出真知嘛.于是决定在这个假期里,主要是通过项目的实践以及理论知识的辅助来提高代码水平.首先是做几个HTML5+CSS3静态页面布局的练习,查缺补漏知识点并且总结在实践过程中遇到的一些错误.页面的设计稿主要是网络上找来了的,也尝试自己切图.测量位置.获得内容的属性等等,假装自己真的在完成一个项目. 第一个页面是从设计达人这个平台上找来的,这个平台的页面设计

在MVC的项目中访问静态页面

MVC在生成项目的时候会生成的WEB-INF底下.这个文件夹下面的文件是受保护的,都会走MVC的流程, 但是我希望在WebContent底下可以使用静态页面, 那么需要进入springmvc-servlet.xml 页面,加上一句话:  <mvc:resources mapping="/**"  location="/**" /> 这样,使用mvc:resources标签,可以将根目录下的文件全部定义为静态html,直接访问即可. 需要放到文件夹中: &

HTML5+CSS3静态页面项目-BusinessTheme的总结

因为期末考试.调整心态等等的种种原因,距离上一次的项目练习已经过了很久了,今天终于有时间继续练习HTML5+CSS3的页面架构和设计稿还原.设计图很长,整个页面分为了好几个区域,所以就不放完整的设计图了,具体的设计文件可以在文末的Github地址中下载.第一次的总结是以我对页面架构的理解,按照代码实现顺序讲解的,那这一次就按照遇到的问题总结性地记录吧.欢迎大家看完我的作品和总结以后,提出宝贵的建议!谢谢大家! 经过上一次的练手,这次的练手就更加从容了,不仅仅是为了查缺补漏,也是为了解决问题的同时

Java项目生成静态页面

第一次做项目需要生成静态页面,网上很多大牛对将网页生成静态页面有很多异议.说一下我的看法. 不外乎有以下因素: 1.从页面加载时间来看:静态页面不需要与数据库建立连接,尤其是访问数据量较大的页面,这种页面大多要查很多结果集,因此建立连接次数就增多了,时间不可观,而静态页面则省去了这些时间. 2.从便于搜索引擎抓取的角度来讲:搜索引擎更喜欢静态的网页,静态网页与动态网页相比,搜索引擎更喜欢静的,更便于抓取,搜索引擎SEO排名更容易提高,一些大门户站页面大多都采用静态或伪静态网页来显示,更便于搜索引

仿新浪首页、主题、详情页,纯html静态页面

仿新浪首页.主题.详情页,纯html静态页面,下载地址: http://download.csdn.net/detail/sweetsuzyhyf/8085535

iOS微博项目(六)实现左滑,大图,用户资料页

1.左滑返回到nav的第一页 2.大图模式 3.登陆刷新tableview 4. 用户资料页 有时候为什么连线连不起呢,是因为file owner的class没有选择对应的类 4.1 微博接口升级后,不能看到关注数粉丝数,指定用户的微博等了. 4.2 点击@用户名进入资料页 4.3 点击头像进入资料页,只加了首页,没加正文