HTML+CSS做一个漂亮的网页

1 篇文章 2 订阅

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>test9-11</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" media="screen" href="test9-11.css" />
</head>

<body>
    <header>
        <div>
            <div id="title">Hello World</div>
            <div id="titlebottom">
                China is speeding up strategic plan, standards, traffic rules, laws and regulations on accident-incurred liabilities for
                its smart car industry, Economic Information Daily reported Thursday.
            </div>
            <div id="login">
                <div>CREATE YOUR ACCOUNT</div>
                <div>IT IS ABSOLUTELY FREE</div>
                <div>
                    <input type="text" placeholder="denis@getcraftwork.com">
                    <input type="password" placeholder="Create your password">
                    <input type="submit" value="SIGN UP">
                </div>
            </div>
        </div>
    </header>

    <section>
        <div id="landingpage">
            <div>BOATLOADS OF AWESOME</div>
            <div>Ready-made, customizable, HTML
                <br>landing page sections</div>
            <div id="moblie">
                <div>
                    <img src="image9-11/image_0001s_0001s_0000s_0000_Iphone-Icon.png" />
                    <h1>Mobile First</h1>
                    <p>This scenario might have seemed more likely in the universe imagined by Aristotle and Ptolemy.</p>
                </div>
                <div>
                    <img src="image9-11/image_0001s_0001s_0002s_0001_Check-Icon.png" />
                    <h1>Accessibility</h1>
                    <p>Today they estimate as many as 500 billion billion sunlike stars, with 100 billion billion Earthlike
                        planets.
                    </p>
                </div>
                <div>
                    <img src="image9-11/image_0001s_0001s_0001s_0000_Pencil-Icon.png" />
                    <h1>Fluid Typography</h1>
                    <p>The more we learn about the universe, the more absurd it would seem if all but one of those bodies were
                        bereft of life.</p>
                </div>
                <div>
                    <img src="image9-11/image_0001s_0001s_0003s_0000_Settings-Icon.png" />
                    <h1>Customization</h1>
                    <p>Maybe humanity is still so basic and primitive that advanced civilizations don’t think we’re worth talking
                        to.
                    </p>
                </div>
            </div>
        </div>
    </section>

    <section id="third">
        <div id="supportive">
            <div>Supportive policies for China's smart car</div>
            <div>
                Fermi wasn’t the first person to ask a variant of this question about alien intelligence. But he owns it. The query is known
                around the world as the Fermi paradox. It’s typically summarized like this: If the universe is unfathomably
                large, the probability of intelligent alien life seems almost certain.
            </div>
            <button>CHECK OUR FEATURES</button>
            <button>TRY PRODUCT FOR FREE</button>
        </div>
        <div id="picture">
            <img src="image9-11/image_0002s_0002s_0002_Screen.png" />
        </div>
        <div style="clear: both;"></div>
    </section>

    <section>
        <div id="products">
            <div>Try Our Awesome Products</div>
            <div id="prointroduction">
                <div>
                    <img src="image9-11/image_0003s_0001s_0000s_0000_Singleton.png" />
                    <p>One of the most important steps in maintaining your personal brand is to stay consistent. Anytime you
                        do anything online, you should consider how it contributes to your personal brand, said Matt Brady,
                        founder and former CEO of career consultancy Path2Hired. </p>
                </div>
                <div>
                    <img src="image9-11/image_0003s_0001s_0001s_0000_Hero.png" />
                    <p>This means that every time you write an article, post an update on social media or interact with your
                        audience, you should think about the overall message you're trying to convey. Keeping your brand
                        consistent helps you build a strong brand that others will begin to recognize, Brady said.</p>
                </div>
                <div>
                    <img src="image9-11/image_0003s_0001s_0002s_0000_Portland.png" />
                    <p>This means that you should identify whether your personal brand will include facets of your personal
                        life — which can further humanize your brand voice — or if you should keep your personal and professional
                        worlds separate, Jones said.</p>
                </div>
            </div>
        </div>
    </section>

    <section>
        <div id="learn">
            <div>
                <img src="image9-11/image_0004s_0000s_0000s_0000_图层-3.png" />
                <div>
                    <p>Learn How To Improve Your Personal Business</p>
                    <p>A strong brand is essential if you want to succeed in business, but it's also important to have a polished
                        personal brand. Your personal brand should be a genuine, honest culmination of who you are. </p>
                </div>
            </div>
            <div style="clear: both;"></div>
            <div>
                <div>
                    <p>Choose Between Two Beautifully Designed Color Schemes</p>
                    <p>You're likely on several different social media platforms for both personal and professional uses. But
                        because you use different platforms for different things, it's important for you to be aware of your
                        privacy settings.</p>
                </div>
                <img src="image9-11/image_0004s_0001s_0000s_0000_图层-4.png" />
            </div>
        </div>
    </section>

    <section>
        <div id="crew">
            <div>Our Awesome Crew</div>
            <div>Our unique online teaching style makes learning easy for everyone.Whether you are trying to land a new job, brush
                up on your skills.</div>
            <div id="crewphoto">
                <img src="image9-11/image_0005s_0001s_0000s_0002_张思远大.png" />
                <img src="image9-11/image_0005s_0001s_0001s_0000_2.png" />
                <img src="image9-11/image_0005s_0001s_0002s_0000_3.png" />
                <img src="image9-11/image_0005s_0001s_0003s_0000_沈大师大_meitu_3.png" />
            </div>
        </div>
    </section>

    <section id="contacts">
        <div>
            <div>
                <div id="fell">FELL FREE TO WRITE US</div>
                <input type="email" id="email" placeholder="E-mail" />
                <input type="text" id="subject" placeholder="Subject" />
                <input type="text" id="message" placeholder="Message" />
                <input type="submit" id="send" value="SEND" />
            </div>
            <div>
                <div id="con">
                    <p>Contacts</p>
                    <p>Make any design your own using the Style
                        <br/>Editor.Personalize fonts, colors, and layouts to
                        <br/>create the custom look you want.</p>
                    <p>
                        <img src="image9-11/image_0006s_0001s_0002s_0000_Map-Icon.png" />360 King Street
                        <br/>Feastrvale Trevose, PA 19057</p>
                    <p>
                        <img src="image9-11/image_0006s_0001s_0001s_0000_Phone-Icon.png" />(755)564-84-12</p>
                    <p>
                        <img src="image9-11/image_0006s_0001s_0000s_0000_Mail-Icon.png" />yourname@mail.com</p>
                </div>
            </div>
        </div>
    </section>

    <footer>
        <div>
            <div>
                <p>LEARN MORE</p>
                <p>How it works?</p>
                <p>Meeting tools</p>
                <p>Live streaming</p>
                <p>Contact Method</p>
            </div>
            <div>
                <p>ABOUT US</p>
                <P>About us</P>
                <p>Features</p>
                <p>Privacy police</p>
                <p>Terms & Conditions</p>
            </div>
            <div>
                <p>SUPPORT</p>
                <p>FAQ</p>
                <p>Contact us</p>
                <p>Live chat</p>
                <p>Phone call</p>
            </div>
            <div>
                <p>ENJOY YOUR LIFE</p>
                <p>Create web UI kit for designers,
                    <br/>freelancers or business.</p>
                <p></p>
                <p id="icon">
                    <img src="image9-11/image_0007s_0001s_0000s_0000_Twitter-Icon.png" />  
                    <img src="image9-11/image_0007s_0001s_0000s_0001_Facebook-Icon.png" />  
                    <img src="image9-11/image_0007s_0001s_0000s_0002_Google-Icon.png" />  
                    <img src="image9-11/image_0007s_0001s_0000s_0003_Tumbler-Icon.png" />  
                    <img src="image9-11/image_0007s_0001s_0000s_0004_Pinterest-Icon.png" />  
                    <img src="image9-11/image_0007s_0001s_0000s_0005_LinkedIn-Icon.png" />
                </p>
            </div>
        </div>
    </footer>

</body>

</html>
body {
    font-family: "Microsoft Yahei", sans-serif;
    font-weight: lighter;
}

header {
    background-image: url(image9-11/image_0000s_0002s_0002_图层-1.png);
    color: white;
    width: 1600px;
    height: 990px;
    text-align: center;
    margin: 0 auto;
}

#title {
    display: inline-block;
    font-size: 64px;
    padding-top: 200px;
    width: 960px;
}

#titlebottom {
    display: inline-block;
    box-sizing: border-box;
    width: 960px;
    font-size: 24px;
    padding: 70px 70px 100px 70px;
}

#login {
    display: inline-block;
    border: 1px solid white;
    width: 960px;
    height: 240px;
}

#login div:first-child {
    font-size: 20px;
    transform: scale(1.2, 1);
    padding-top: 60px;
    padding-bottom: 15px;
}

#login div:nth-child(2) {
    font-size: 1em;
    transform: scale(1.2, 1);
    color: rgb(90, 90, 90);
}

#login div input:first-child {
    width: 300px;
    height: 50px;
    border: none;
}

#login div input:nth-child(2) {
    width: 300px;
    height: 50px;
    border: none;
}

#login div input:nth-child(3) {
    width: 120px;
    height: 50px;
    background-color: #000000;
    color: #ffffff;
    border: none;
}

section {
    width: 1600px;
    margin: 0 auto;
    border-bottom: 1px solid rgb(200, 200, 200);
}

#landingpage {
    width: 1170px;
    height: 700px;
    margin: 0 auto;
    text-align: center;
}

#landingpage div {
    display: inline-block;
}

#landingpage>div:first-child {
    width: 1170px;
    height: 15px;
    font-size: 15px;
    margin-top: 85px;
}

#landingpage>div:nth-child(2) {
    width: 1170px;
    height: 170px;
    font-size: 48px;
    margin-top: 40px;
}

#landingpage>div:nth-child(3) {
    width: 1170px;
    height: 450px;
}

#moblie div {
    width: 420px;
    height: 120px;
}

#moblie div img {
    float: left;
}

#third {
    background-image: url(image9-11/image_0000s_0002s_0002_图层-1.png);
}

#supportive {
    width: 500px;
    height: 430px;
    margin: 180px 0 180px 320px;
    float: left;
    color: #ffffff;
}

#supportive div:first-child {
    font-size: 32px;
    width: 370px;
}

#supportive div:nth-child(2) {
    width: 370px;
    margin-top: 40px;
}

#supportive button:nth-child(3) {
    width: 240px;
    height: 50px;
    font-size: 12px;
    margin-top: 60px;
    background-color: #ffffff;
    color: #000;
    border: none;
}

#picture {
    width: 650px;
    height: 600px;
    float: right;
    display: table-cell;
    vertical-align: middle;
    margin-top: 100px;
    border-top: 1px solid rgb(200, 200, 200);
    border-bottom: 1px solid rgb(200, 200, 200);
    border-left: 1px solid rgb(200, 200, 200);
}

#picture img {
    width: 600px;
    height: 550px;
}

#supportive button:nth-child(4) {
    width: 240px;
    height: 50px;
    font-size: 12px;
    margin-top: 60px;
    background-color: #000000;
    color: #ffffff;
    border: none;
}

#products {
    width: 960px;
    height: 580px;
    margin: 0 auto;
}

#products>div:first-child {
    font-size: 48px;
    text-align: center;
    margin: 90px auto 80px auto;
}

#prointroduction {
    display: flex;
    justify-content: space-between;
}

#prointroduction div {
    width: 260px;
    height: 280px;
}

#prointroduction img {
    display: table-cell;
    text-align: center;
}

#learn {
    width: 960px;
    height: 1000px;
    margin: 0 auto;
}

#learn div div:first-child {
    float: left;
    width: 320px;
    height: 240px;
    margin-top: 150px;
}

#learn div div:nth-child(2) {
    float: right;
    width: 320px;
    height: 240px;
    margin-top: 180px;
}

#learn img {
    width: 570px;
    height: 350px;
}

#learn img:first-child {
    float: left;
    margin-top: 110px;
}

#learn img:nth-child(2) {
    float: right;
    margin-top: 80px;
}

#learn p:first-child {
    font: 24px bold;
}

#crew {
    width: 960px;
    height: 1080px;
    margin: 0 auto;
    text-align: center;
}

#crew div:first-child {
    font-size: 48px;
    margin-top: 100px;
}

#crew div:nth-child(2) {
    margin-top: 30px;
    width: 700px;
    margin: 0 auto;
}

#crewphoto {
    width: 960px;
    height: 710px;
    margin-top: 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
}

#crewphoto img {
    width: 470px;
    height: 350px;
}

#contacts {
    width: 1600px;
    height: 700px;
    margin: 0 auto;
}

#contacts>div {
    width: 960px;
    height: 700px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

#contacts>div>div {
    width: 470px;
    height: 560px;
    margin-top: 70px;
}

#contacts>div>div:first-child {
    border: 1px solid rgb(200, 200, 200);
    border-radius: 10px;
}

#contacts input {
    width: 370px;
    border-radius: 5px;
    border: 1px solid rgb(200, 200, 200);
}

#fell {
    text-align: center;
    vertical-align: middle;
    width: 370px;
    height: 110px;
    line-height: 110px;
    margin: 0 auto;
    font-weight: 400;
}

#email {
    height: 50px;
    margin-left: 50px;
}

#subject {
    height: 50px;
    margin-top: 30px;
    margin-left: 50px;
}

#message {
    margin-top: 30px;
    margin-left: 50px;
    height: 140px;
}

#send {
    height: 50px;
    margin-top: 30px;
    margin-left: 50px;
    background-color: #000000;
    color: #ffffff;
}

#con {
    text-align: left;
    width: 360px;
    height: 370px;
    margin-top: 80px;
    margin-left: 90px;
}

#con p:first-child {
    font-size: 48px;
}

footer {
    width: 1600px;
    height: 400px;
    background-color: black;
    margin: 0 auto;
    color: rgb(90, 90, 90);
    font-size: 15px;
}

footer>div {
    width: 1200px;
    height: 310px;
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
    padding-top: 90px;
}

footer div div {
    width: 150px;
    height: 200px;
}

footer div div:last-child {
    width: 270px;
    height: 200px;
}

footer div div p:first-child {
    color: #ffffff;
}


  • 152
    点赞
  • 872
    收藏
    觉得还不错? 一键收藏
  • 63
    评论
基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明 基于html+css+js进行网页设计 课程设计 毕业设计 供参考 源码+说明
### 回答1: 好的,我可以为您提供一些关于用HTMLCSS制作漂亮简单个人网页的建议。 首先,您可以考虑使用一个简单的布局,例如使用一个顶部导航栏和一个主要内容区域。您可以使用HTML中的div元素来创建这些区域,并使用CSS来设置它们的样式。 其次,您可以选择一个漂亮的字体和颜色方案来增强您的网页的视觉吸引力。您可以使用CSS中的字体和颜色属性来设置这些样式。 另外,您可以添加一些图片和图标来增强您的网页的视觉效果。您可以使用HTML中的img元素来添加图片,并使用CSS来设置它们的大小和位置。 最后,您可以添加一些交互元素,例如按钮和链接,以使您的网页更加动态和易于导航。您可以使用HTML中的a和button元素来创建这些元素,并使用CSS来设置它们的样式。 希望这些建议能够帮助您制作一个漂亮简单的个人网页。 ### 回答2: 首先,设计一个布局,固定头部,主内容区域,和底部。可以采用响应式设计,使网页适配不同的设备。接下来,选择合适的颜色和字体,设置统一的风格。可以使用CSS框架如Bootstrap来加快开发速度并提高网页效果。 在头部区域,添加网站的标志和导航栏。导航栏应包括一些链接,如“主页”,“关于我”,“联系我”,并通过css实现实现悬浮高亮。 在主要内容区域,可以展示自己的介绍,工作经验以及项目经验,使用列表或网格将这些信息分组展示。可以包括一些图片或视频来帮助衬托内容。如有需要,可以包括一些动画效果,使页面动态化。 在底部区域,添加个人社交链接和版权信息。在CSS中设置适当的间距和颜色,使页面看起来更加生动。 最后,进行一些测试,确保网页不仅在电脑上显示良好,同时也在移动端上适配良好。此时,你就可以通过推广你的个人网站,展示你的网页制作技能,同时也展示更多你的工作经验和个人魅力。 ### 回答3: HTMLCSS网页开发的两个基本组成部分,用它们来设计一个漂亮简单的个人网页是非常容易的。下面我将从网页结构、布局、配色和样式几个方面介绍如何用HTMLCSS设计一个漂亮简单的个人网页。 首先,确定网页的结构。一个合理的网页结构应该包含头部、主体和底部三个部分。头部通常包括网页标题、导航栏和页眉等元素;主体则是展示内容的核心部分;底部则包括版权信息等。在HTML中可以使用<header>、<main>和<footer>标签分别来定义这三个部分。 其次,设计网页布局。根据网页内容的不同,可以采用不同的布局方式。常见的布局方式有:单栏布局、两栏布局、三栏布局和板块式布局等。在CSS中,可以使用float属性或flex布局等来实现布局。 然后,选择合适的配色方案。一个漂亮网页需要有统一、和谐的配色方案。可以选择一些常用的配色方案,如类似于蓝紫色调或暖和色调等。也可以使用一些配色工具,如Adobe Color等来自定义配色方案。需要注意的是,颜色的使用要注意整体感和协调性。 最后,添加样式。样式是营造网页整体风格的核心措施。可以选择一些现成的CSS框架,如Bootstrap、Tailwind CSS等来加速样式的添加。也可以通过自主编写CSS代码来实现样式的设置。需要注意的是,样式的设置要整体协调,视觉效果美观。 综上所述,用HTMLCSS设计一个漂亮简单的个人网页,需要从结构、布局、配色和样式等方面综合考虑,选择适合自己的方式实现,并确保整体协调、美观、易用。

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值