新闻页面展示(铃芽之旅电影)

整体效果

 

 html部分代码

 CSS部分代码

* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0 auto;
    font-size: 14px;
    background: url(../images/13.jpg) no-repeat fixed;
    background-size: 100% 100%;
    color: #333;
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
}

img {
    border: none;
}

a {
    cursor: pointer;
    color: #333;
    text-decoration: none;
    outline: none;
}

ul {
    list-style-type: none;
}

div.clear {
    font: 0px Arial;
    line-height: 0;
    height: 0;
    overflow: hidden;
    clear: both;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/*wrapin 主体容器宽度*/
.wrapin {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -49px;
    margin-bottom: 110px;
}

header {
    height: 50px;
    background: #fff;

}

.nav li {
    background: #336699;
    line-height: 50px;
    float: left;
    width: 25%;
    text-align: center;
    font-size: 19px;
}

.nav li a {
    color: #fff;
}

.con {
    padding: 15px;
    background: rgb(233, 249, 250);
}

.top .text {
    float: left;
    width: 60%;
    line-height: 26px;
}

.top .pic {
    float: right;
    width: 38%;
    margin-top: 20px;
}

.top .texts {
    float: left;
    width: 38%;
    line-height: 26px;
}

.top .pics {
    float: right;
    width: 60%;
    margin-top: 20px;
}

.top .pic img {
    width: 100%;
}

footer {
    background: #282828;
    text-align: center;
    color: #fff;
    line-height: 50px;
}

  • 2
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
很抱歉,我无法在这个平台上提供完整的铃芽网页代码,但是可以给您提供一些基本的HTML模板,您可以根据您的需要进行修改和完善: ``` <!DOCTYPE html> <html> <head> <title>铃芽</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <header> <h1>铃芽</h1> <nav> <ul> <li><a href="#">首页</a></li> <li><a href="#">游线路</a></li> <li><a href="#">预订服务</a></li> <li><a href="#">关于我们</a></li> </ul> </nav> </header> <main> <section> <h2>热门线路</h2> <ul> <li><a href="#">日本东京5日游</a></li> <li><a href="#">韩国首尔3日游</a></li> <li><a href="#">法国巴黎7日游</a></li> </ul> </section> <section> <h2>预订服务</h2> <form> <label for="name">姓名:</label> <input type="text" id="name" name="name"> <label for="email">邮箱:</label> <input type="email" id="email" name="email"> <label for="phone">电话:</label> <input type="tel" id="phone" name="phone"> <label for="destination">目的地:</label> <select id="destination" name="destination"> <option value="tokyo">东京</option> <option value="seoul">首尔</option> <option value="paris">巴黎</option> </select> <label for="date">出发日期:</label> <input type="date" id="date" name="date"> <label for="message">留言:</label> <textarea id="message" name="message"></textarea> <button type="submit">提交</button> </form> </section> </main> <footer> <p>版权所有 © 铃芽</p> </footer> </body> </html> ``` 上面的模板只是一个基本的框架,您可以根据您的需求进行修改和增加。同时,您还需要创建一个名为 `style.css` 的文件来定义您的网页样式。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

璀云霄

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值