HTML+CSS页面练习——legend第五部分

第五部分——Service

简要介绍:

页面效果:

HTML代码:

<section id="services">
        <div class="container">
            <div class="align"><i class="icon-cog-circled"></i></div>
            <h1>Services</h1>
            <div class="row">
                <div class="span3">
                    <div class="align"><i class="icon-desktop sev_icon"></i></div>
                    <h2>Web design</h2>
                    <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry‘s standard dummy text ever since the 1500s.</p>
                </div>
                <div class="span3">
                    <div class="align"><i class="icon-vector sev_icon"></i></div>
                    <h2>Print Design</h2>
                    <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry‘s standard dummy text ever since the 1500s.</p>
                </div>
                <div class="span3">
                    <div class="align"><i class="icon-basket sev_icon"></i></div>
                    <h2>Ecommerce</h2>
                    <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry‘s standard dummy text ever since the 1500s.</p>
                </div>
                <div class="span3">
                    <div class="align"><i class="icon-mobile-1 sev_icon"></i></div>
                    <h2>Marketing</h2>
                    <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry‘s standard dummy text ever since the 1500s.</p>
                </div>
            </div>
        </div>
    </section>

CSS代码:

       #services{
            padding: 50px 70px;
            margin-top:0px;
            margin-bottom: 50px;
        }
        #services .span3{
            background:#e9e9e9;
            padding: 3px 0 15px 10px;
            transition: all 0.3s ease-in-out;
            width: 22%;
            display: inline-block;
            margin: 9px;
        }
        #services .span3:hover{
            background: #e3e3e3;
            box-shadow: 1px 1px 6px #c1bac1;
        }
        #services h1{
            font-size: 3em;
            margin:0em 0 0.7em 0;
            font-family: ‘Patua One‘,cursive;
            text-align: center;
        }
        #services h2{
            font-size: 22px;
            font-family: ‘Patua One‘,cursive;
            font-weight: lighter;
            margin: 0;
            padding: 0;
            text-align: center;
        }
        #services p{
            margin: 10px;
            float: left;
            line-height: 25px;
        }
        #services .align{
            font-size: 6em;
            text-align: center;
            padding: 0;
        }
        #services .align .sev_icon{
            text-align: center;
            margin: 10px 0 20px 0;
            font-size: 0.6em;
            color: #F0BF00;
        }
时间: 2024-08-29 19:21:37

HTML+CSS页面练习——legend第五部分的相关文章

HTML+CSS页面练习——legend第二部分

第二部分--headerwrap 简要介绍: 本部分有两个标题<h1><h2>,两个<input>元素,还有无序列表<ul>和链接<a>实现的5个链接. 页面效果: HTML代码: <div id="headerwrap"> <header class="clearfix"> <h1><span>Legend! </span>We make web

HTML+CSS页面练习——legend第一部分

第一部分navbar-wrapper 简要介绍: 本部分为导航部分,会固定在浏览器页面的顶部,不会随文档的滚动而移动.运用无序列表中放入链接(<ul><li><a></a></li></ul>)的方式来实现导航.当鼠标放在该元素上面时,其样式会发生变化. 页面效果: 字体的引入: <link href='http://fonts.googleapis.com/css?family=Quattrocento:400,700'  r

HTML+CSS页面练习——legend第三部分

第三部分--feature 简要介绍: 这部分比较简单.主要用<p>元素写了两句话.用一张图片设置背景. 页面效果: HTML代码: <div > <section id="feature"> <article> <p>We work to make web a beautiful place.</p> <p>We craft beautiful designs and convert them int

HTML+CSS页面练习——legend第四部分

第四部分--Portfolio 简要介绍: 本部分内容看着比较多,其实它的许多地方是一样的.所以只需要设置好一个类的样式,就可以运用到它们所有的上面. 页面效果: (两张图片之间没有空隙) HTML代码: <section id="portfolio"> <div class="container"> <div class="align"><i class="icon-desktop-circl

HTML 页面跳转的五种方法

H方法TML 页面跳转的五种方法 下面列了五个例子来详细说明,这几个例子的主要功能是:在5秒后,自动跳转到同目录下的hello.html(根据自己需要自行修改)文件.1) html的实现 <head><!-- 以下方式只是刷新不跳转到其他页面 --><meta http-equiv="refresh" content="10"><!-- 以下方式定时转到其他页面 --><meta http-equiv="

css基础css页面布局基础

样式可以在HTML中定义,也可以在一个单独的外部样式文件中定义.样式可以分为嵌入式样式表,外部样式表,内联样式表. 外部样式表:首先要建一个后缀为.css的样式表文件,然后在web文档中的<head>段使用<link>标记,这样就可以将一个外部样式表文件链接到文档中. 语法:<link rel="stylesheet" type="text/css" href="样式表的url"/> 嵌入式样式表:在web文档

JavaScript实现页面跳转的五种方式

JavaScript实现页面跳转的五种方式 第一种:<script type="text/javascript" language="javascript"> window.location.href="login.jsp?backurl="+window.location.href;</script> 第二种:<script type="text/javascript" language=&qu

div+css页面布局-html代码

<html> <head> <title>div+css页面布局</title> <meta http-equiv="content-type" content="text/html" > <link rel="stylesheet" type="text/css" href="css/layout.css" /> </head&

CSS页面模块的常用命名

CSS页面模块的常用命名:        头:header        内容:content/container        尾:footer        导航:nav        侧栏:sidebar        栏目:column        页面外围控制整体布局宽度:wrapper        左右中:left right center        登录条:loginbar        标志:logo        广告:banner        页面主体:main