首页 > 软件开发 > HTML >

html+css图片换肤插件

来源:互联网 2023-03-16 19:10:20 339

html css图片换肤插件rDD办公区 - 实用经验教程分享!

工具/原料

  • adobe dreamweaver

方法/步骤

  • 1

    准备好需要用到的图标。rDD办公区 - 实用经验教程分享!

    html css图片换肤插件rDD办公区 - 实用经验教程分享!

    html css图片换肤插件rDD办公区 - 实用经验教程分享!

  • 1此文章非法爬取自百度经验
  • 2

    新建html文档。rDD办公区 - 实用经验教程分享!

    html css图片换肤插件rDD办公区 - 实用经验教程分享!

  • 3

    书写hmtl代码。rDD办公区 - 实用经验教程分享!

    div id="demo" class="container clearfix">rDD办公区 - 实用经验教程分享!

    h2>Demo/h2>rDD办公区 - 实用经验教程分享!

    h3>One Color/h3>rDD办公区 - 实用经验教程分享!

    Here is an example of the productColorizer in action./rDD办公区 - 实用经验教程分享!

    div class="product-preview">rDD办公区 - 实用经验教程分享!

    div class="product"> img src="images/blank_tshirt.jpg" alt="Shirt Image" /> img id="mask" class="mask" src="images/shirt-mask.png" alt="Mask Image" /> /div>rDD办公区 - 实用经验教程分享!

    h3>Niko T-Shirt/h3>rDD办公区 - 实用经验教程分享!

    Look awesome/rDD办公区 - 实用经验教程分享!

    h4>Choose a Color:/h4>rDD办公区 - 实用经验教程分享!

    div class="swatch"> a rel="255,255,255" href="#mask" title="White">White/a> a rel="32,223,95" href="#mask" title="Green">Green/a> a rel="255,211,8" href="#mask" title="Yellow">Yellow/a> a rel="255,101,8" href="#mask" title="Orange">Orange/a> a rel="16,200,255" href="#mask" title="Blue">Blue/a> a rel="142,8,255" href="#mask" title="Purple">Purple/a> a rel="245,25,45" href="#mask" title="Red">Red/a> /div>rDD办公区 - 实用经验教程分享!

    /div>rDD办公区 - 实用经验教程分享!

    /div>rDD办公区 - 实用经验教程分享!

    html css图片换肤插件rDD办公区 - 实用经验教程分享!

  • 4

    书写css代码。rDD办公区 - 实用经验教程分享!

    html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; outline: none; }rDD办公区 - 实用经验教程分享!

    body { background: url(../images/body_bg.jpg); font-family: 'Asap', sans-serif; font-size: 16px; }rDD办公区 - 实用经验教程分享!

    a { outline: none; }rDD办公区 - 实用经验教程分享!

    .container { width: 800px; margin: 0 auto; padding: 20px; }rDD办公区 - 实用经验教程分享!

    .container p { line-height: 2em; color: #444; margin: 0.2em 0; }rDD办公区 - 实用经验教程分享!

    .container a { color: #13c562; text-decoration: none; }rDD办公区 - 实用经验教程分享!

    .container a:hover { border-bottom: 1px solid #13c562; }rDD办公区 - 实用经验教程分享!

    .clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }rDD办公区 - 实用经验教程分享!

    .clearfix { display: inline-block; }rDD办公区 - 实用经验教程分享!

    html[xmlns] .clearfix { display: block; }rDD办公区 - 实用经验教程分享!

    * html .clearfix { height: 1%; }rDD办公区 - 实用经验教程分享!

    h1 { font-size: 2em; color: #333; text-shadow: 1px 1px 0 #fff; font-weight: bold; }rDD办公区 - 实用经验教程分享!

    h1 sup { font-size: 0.4em; font-weight: normal; font-family: Georgia, serif; color: #666; padding-bottom: 20px; }rDD办公区 - 实用经验教程分享!

    #masthead { background: url(../images/border.png) repeat-x bottom left; margin-top: 20px; }rDD办公区 - 实用经验教程分享!

    #masthead a.logo { background: url(../images/logo.png) no-repeat; width: 154px; height: 85px; display: block; text-indent: 100%; white-space: nowrap; overflow: hidden; float: right; margin-top: -80px; }rDD办公区 - 实用经验教程分享!

    #masthead a.logo:hover { border: none; }rDD办公区 - 实用经验教程分享!

    h2 { font-size: 1.5em; color: #444; font-weight: bold; }rDD办公区 - 实用经验教程分享!

    h3 { font-size: 1.2em; color: #ff6600; font-weight: bold; }rDD办公区 - 实用经验教程分享!

    #intro ul { list-style-type: none; padding: 15px 0 0; font-weight: bold; }rDD办公区 - 实用经验教程分享!

    #intro li { margin: 0.5em 0; }rDD办公区 - 实用经验教程分享!

    #instructions li { margin: 1em 0; }rDD办公区 - 实用经验教程分享!

    #instructions span.html-tag { font-family: Consolas, Monaco, "Andale Mono", "Courier New", monospace; font-weight: bold; color: #13c562; }rDD办公区 - 实用经验教程分享!

    #instructions img { background: url(../images/transp.gif); }rDD办公区 - 实用经验教程分享!

    .product-preview { font-size: .85em; color: #444; margin: 20px auto; width: 325px; padding: 25px; -moz-box-shadow: 0 0 3px #817962; box-shadow: 0 0 3px #817962; background: #fff; }rDD办公区 - 实用经验教程分享!

    .product-preview h3, h4 { margin: 5px 0; line-height: 1em; }rDD办公区 - 实用经验教程分享!

    .product-preview h3 { font-size: 1.2em; font-weight: bold; margin-top: 10px; }rDD办公区 - 实用经验教程分享!

    .product-preview h4 { margin-top: 10px; color: #d6401d; background: url(../images/icon_color.png) no-repeat; padding: 1px 0 5px 18px; font-size: 1.2em; }rDD办公区 - 实用经验教程分享!

    .product-preview p { margin: 0; }rDD办公区 - 实用经验教程分享!

    .product-preview .product { position: relative; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; background: #fff; padding: 1px; border: 1px solid #ccc; width: 320px; height: 400px; }rDD办公区 - 实用经验教程分享!

    html css图片换肤插件rDD办公区 - 实用经验教程分享!

  • 5

    代码整体结构。rDD办公区 - 实用经验教程分享!

    html css图片换肤插件rDD办公区 - 实用经验教程分享!

  • 6

    查看效果。rDD办公区 - 实用经验教程分享!

    html css图片换肤插件rDD办公区 - 实用经验教程分享!

  • 以上方法由办公区教程网编辑摘抄自百度经验可供大家参考!rDD办公区 - 实用经验教程分享!


    标签: CSSHTML

    办公区 Copyright © 2016-2023 www.bgqu.net. Some Rights Reserved. 备案号:湘ICP备2020019561号统计代码