<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>21番茄网 - 前端</title>
    <link>http://www.21fanqie.com/forum-56-1.html</link>
    <description>Latest 20 threads of 前端</description>
    <copyright>Copyright(C) 21番茄网</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Thu, 26 Nov 2026 23:53:30 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://www.21fanqie.com/static/image/common/logo_88_31.gif</url>
      <title>21番茄网</title>
      <link>http://www.21fanqie.com/</link>
    </image>
    <item>
      <title>dreamweaver自带的默认示例网页代码</title>
      <link>http://www.21fanqie.com/thread-713-1-1.html</link>
      <description><![CDATA[Light Theme


var __adobewebfontsappname__=\&quot;dreamweaver\&quot;




      
      
    



 
  
   
    LIGHT
    
    
      
        HOME
        ABOUT
         CONTACT
      
    
  
  
  
    HERO LIGHT
    Lig ...]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Thu, 19 Dec 2024 13:28:46 +0000</pubDate>
    </item>
    <item>
      <title>如何把css单独出来做成一个文件</title>
      <link>http://www.21fanqie.com/thread-706-1-1.html</link>
      <description><![CDATA[要将CSS单独出来做成一个文件，您需要创建一个以 .css 为扩展名的文件，并将所有的CSS样式代码写入该文件中。以下是具体步骤：

1.创建CSS文件：

在您的计算机或项目目录中，创建一个新的文本文件。
将该文件的扩展名改为 .css，例如 style.css。

2.编写CSS代 ...]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Fri, 04 Oct 2024 04:39:51 +0000</pubDate>
    </item>
    <item>
      <title>制作水平菜单</title>
      <link>http://www.21fanqie.com/thread-705-1-1.html</link>
      <description><![CDATA[制作水平菜单




    
    
    Horizontal Menu Example
    
        .menu ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
            overflow: hidden;
        }

        .menu ul li {
          ...]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Fri, 04 Oct 2024 04:14:46 +0000</pubDate>
    </item>
    <item>
      <title>&lt;section&gt; 和 &lt;div&gt; 的区别</title>
      <link>http://www.21fanqie.com/thread-704-1-1.html</link>
      <description><![CDATA[和  都是 HTML 中的容器元素，用于将内容组织到一起

1.
语义化： 标签表示一个具有相关主题的内容区域，通常包含一个或多个  标签。它具有明确的语义含义，有助于搜索引擎和其他开发者更好地理解页面结构。而  标签是一个通用的容器元素，没有特定的语义含义。它主 ...]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Fri, 04 Oct 2024 02:39:18 +0000</pubDate>
    </item>
    <item>
      <title>&lt;blockquote&gt;是什么意思</title>
      <link>http://www.21fanqie.com/thread-703-1-1.html</link>
      <description><![CDATA[是什么意思

在 HTML 中，标签用于定义块引用，通常用来引用大段的内容，比如引用名人名言、他人的言论或其他来源的文本内容。

一、特点与作用
视觉区分：在浏览器中，引用的内容通常会在左右两侧有一定的缩进，以与周围的文本区分开来，使读者能够直观地识别出这 ...]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Fri, 04 Oct 2024 02:34:44 +0000</pubDate>
    </item>
    <item>
      <title>margin-bottom: 1rem;是什么意思</title>
      <link>http://www.21fanqie.com/thread-702-1-1.html</link>
      <description><![CDATA[margin-bottom: 1rem; 是一个CSS样式规则，用于设置元素的底部外边距（margin-bottom）为1rem

在这里，1rem 是一个相对单位，表示相对于根元素（）的字体大小。例如，如果根元素的字体大小为16px，那么1rem等于16px。使用rem单位可以让你更容易地在不同设备和屏幕尺 ...]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Tue, 01 Oct 2024 04:46:10 +0000</pubDate>
    </item>
    <item>
      <title>description：网页描述</title>
      <link>http://www.21fanqie.com/thread-696-1-1.html</link>
      <description><![CDATA[description：网页描述


翻译为中文：元信息，名称为：网页描述，内容为：概括网页的主要内容



meta：通常它指的是 “元” 或 “关于……的”]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Sun, 28 Jul 2024 05:21:10 +0000</pubDate>
    </item>
    <item>
      <title>http-equiv的作用</title>
      <link>http://www.21fanqie.com/thread-695-1-1.html</link>
      <description><![CDATA[http-equiv是HTML中标签的一个属性，用于模拟HTTP响应头，向浏览器传递信息。
equiv：等值的

http-equiv属性的主要用途和功能
定义文档的字符编码：例如，用于指定文档使用的字符编码为UTF-81。
控制页面缓存：例如，用于禁止浏览器从本地缓存中访问页面内容2。
 ...]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Sun, 28 Jul 2024 05:14:19 +0000</pubDate>
    </item>
    <item>
      <title>同层级的两个标签之间留一行空白</title>
      <link>http://www.21fanqie.com/thread-694-1-1.html</link>
      <description><![CDATA[同层级的两个标签之间留一行空白，以便于结构更清晰，可以通过CSS来实现

举例：





    
    
    Empty Line Example
    
        p {
            margin-bottom: 1rem; /* 设置段落下边距为1rem，使得段落之间有一行空白 */
        }
    


 ...]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Sun, 28 Jul 2024 04:58:36 +0000</pubDate>
    </item>
    <item>
      <title>文档类型声明单词分析</title>
      <link>http://www.21fanqie.com/thread-693-1-1.html</link>
      <description><![CDATA[文档类型声明单词分析

doctype：document文档type类型
public：公共的
xhtml：xhtml文档类型标准——扩展超文本标记语言
dtd：文档类型声明文件扩展名
xmIns：xml一种语法格式要求严谨的标记数据类型，namespace命名空间
w3c：一个世界公约组织
Transitional： ...]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Sun, 28 Jul 2024 04:14:43 +0000</pubDate>
    </item>
    <item>
      <title>标记的两种写法</title>
      <link>http://www.21fanqie.com/thread-692-1-1.html</link>
      <description><![CDATA[标记的两种写法：

1.双标记模式
标记内容

2.单标记模式

但标记模式没有标记内容]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Sun, 28 Jul 2024 04:05:37 +0000</pubDate>
    </item>
    <item>
      <title>Dreamweaver的使用</title>
      <link>http://www.21fanqie.com/thread-691-1-1.html</link>
      <description><![CDATA[Dreamweaver的使用，以Dreamweaver2021版本为例

1.先建立站点——等于设置好这个站点下文件保存位置
2.修改页面属性的位置：文件——页面属性

3.新建文档的默认设置：编辑——首选项——新建文档

4.文本类操作，比如缩进、粗体、下划线等：编辑——文本，选择 ...]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Sat, 27 Jul 2024 15:04:07 +0000</pubDate>
    </item>
    <item>
      <title>定位在中心的两种做法</title>
      <link>http://www.21fanqie.com/thread-690-1-1.html</link>
      <description><![CDATA[定位在中心的两种做法

未知宽高实现盒子水平垂直居中，通常使用定位以及translate完成。参考下面例子：

 
        
            啦啦啦啦啦啦啦啦啦啦
        
    


添加样式：

 .box {
        border: 1px solid #00ee00;
        height: ...]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Sat, 27 Jul 2024 14:34:31 +0000</pubDate>
    </item>
    <item>
      <title>水平居中</title>
      <link>http://www.21fanqie.com/thread-689-1-1.html</link>
      <description><![CDATA[行内水平居中

      如果被设置元素为文本、图片等行内元素时，水平居中是通过给父元素设置 text-align:center 来实现的。(父元素和子元素：如下面的html代码中，div是“我想要在父容器中水平居中显示”这个文本的父元素。反之这个文本是div的子元素 )如下代码：

 ...]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Sat, 27 Jul 2024 14:25:20 +0000</pubDate>
    </item>
    <item>
      <title>flex弹性盒子模型</title>
      <link>http://www.21fanqie.com/thread-688-1-1.html</link>
      <description><![CDATA[flex布局
    
    .box {
        background: blue;
        display: flex;
    }
    .box div {
        width: 200px;
        height: 200px;
    }
    .box1 {
        background: red;
    }
    .box2 {
        backgro ...]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Sat, 27 Jul 2024 13:58:53 +0000</pubDate>
    </item>
    <item>
      <title>前端ui设计工具</title>
      <link>http://www.21fanqie.com/thread-687-1-1.html</link>
      <description><![CDATA[前端ui设计工具

国产：
即时设计：https://js.design/
pixso：https://pixso.cn/
慕客DT：https://www.mockplus.cn/dt
墨刀：https://modao.cc/

国外：
figma]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Sat, 27 Jul 2024 07:13:29 +0000</pubDate>
    </item>
    <item>
      <title>CSS3布局模型</title>
      <link>http://www.21fanqie.com/thread-684-1-1.html</link>
      <description><![CDATA[CSS3包含3种基本的布局模型

1、流动模型（Flow）
2、浮动模型 (Float)
3、层模型（Layer）]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Tue, 23 Jul 2024 14:45:36 +0000</pubDate>
    </item>
    <item>
      <title>在css中，一个盒子的尺寸是这样定义的</title>
      <link>http://www.21fanqie.com/thread-683-1-1.html</link>
      <description><![CDATA[css内定义的宽（width）和高（height），指的是填充以里的内容范围。
一个元素实际宽度（盒子的宽度）=左边界+左边框+左填充+内容宽度+右填充+右边框+右边界。




css代码：

div{
    width:200px;
    padding:20px;
    border:1px solid red;
    marg ...]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Tue, 23 Jul 2024 14:02:56 +0000</pubDate>
    </item>
    <item>
      <title>&lt;div&gt;标签的用途</title>
      <link>http://www.21fanqie.com/thread-682-1-1.html</link>
      <description><![CDATA[标签的用途：
组织内容：标签用于将网页内容分割成不同的区域，每个区域可以包含不同的HTML元素，如标题、段落、图片等。

标签与标签的区别：
元素的默认样式为块级显示，会以块的形式占据可用空间。元素的默认样式为行内显示，它不会独占一行，只占据其内容的宽度 ...]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Tue, 23 Jul 2024 13:58:36 +0000</pubDate>
    </item>
    <item>
      <title>CSS盒模型</title>
      <link>http://www.21fanqie.com/thread-681-1-1.html</link>
      <description><![CDATA[在CSS中，html中的标签元素大体被分为三种不同的类型：块状元素、内联元素(又叫行内元素)和内联块状元素。

常用的块状元素有：
、、...、、、、、、 、

常用的内联元素有：
、、、、、、、、、、

常用的内联块状元素有：
、]]></description>
      <category>前端</category>
      <author>21fanqie</author>
      <pubDate>Sun, 21 Jul 2024 08:03:26 +0000</pubDate>
    </item>
  </channel>
</rss>