<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>XUECSS.CN</title><link>https://xuecss.cn/try/</link><description>在线编辑器</description><item><title>鼠标经过图片放大</title><link>https://xuecss.cn/try/?id=56</link><description>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;style&gt;
div
{
width:100px; /*宽度*/
height:200px;/*高度*/
background:red;/*背景为红色*/
transition: 0.3s;/*图片放大所用时间*/
margin: 100px;/*边框宽度*/
}

div:hover
{
transform: scale(1.1);   /*大于1是放大，小于1是缩小，1是不变*/
}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div&gt;&lt;img src=&quot;https://www.meishuzi.com/logo/zb_users/upload/2023/03/20230323103719167953903946096.jpg&quot; /&gt;&lt;/div&gt;

&lt;div&gt;图片地址&lt;/div&gt;

&lt;p&gt;把鼠标指针移动到红色的图片上就可以看到过渡效果。&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;</description><pubDate>Sat, 25 Mar 2023 00:05:22 +0800</pubDate></item><item><title>使用css控制PC和移动不同页面宽度显示不同的广告</title><link>https://xuecss.cn/try/?id=55</link><description>&lt;style type=&quot;text/css&quot;&gt;
.pc{display:block;}
.mip{ display:none}
@media(max-width:768px) {
.pc{display:none !important;}
.mip{display:block !important;}}
&lt;/style&gt;

&lt;div class=&quot;pc&quot;&gt;此处放入显示在电脑上的广告代码&lt;/div&gt;
&lt;div class=&quot;mip&quot;&gt;此处放入显示在手机上的广告代码&lt;/div&gt;</description><pubDate>Wed, 13 Oct 2021 21:12:25 +0800</pubDate></item><item><title>网页尾部（footer）写法</title><link>https://xuecss.cn/try/?id=54</link><description>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset=&quot;UTF-8&quot;&gt;
&lt;title&gt;网页尾部（footer）写法&lt;/title&gt;
&lt;style type=&quot;text/css&quot;&gt;
*{
  padding: 0;
  margin: 0;
}*
.footer{
  margin-top: 20px;
  background:#222c3a;
  width: 100%;
  height: 165px;
  text-align: center;
  color: white;
  position: absolute;
}
.footer .footer-top{
  margin-top: 50px;
}
.footer a{
  color: #f0f1f1;
  text-decoration: none;
  padding: 0 10px;
  vertical-align:middle;
}
.footer a:hover{
  color: red;
  text-decoration: underline;
}
.footer p{
  height: 15px;
  color: #888888;
  margin-top: 30px;
}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div class=&quot;footer&quot;&gt;
  &lt;div class=&quot;footer-top&quot;&gt;
    &lt;a href=&quot;#&quot;&gt;百度网&lt;/a&gt; |
    &lt;a href=&quot;#&quot;&gt;新浪网&lt;/a&gt; |
    &lt;a href=&quot;#&quot;&gt;腾迅房产&lt;/a&gt; |
    &lt;a href=&quot;#&quot;&gt;找货网&lt;/a&gt; |
    &lt;a href=&quot;#&quot;&gt;北极绒&lt;/a&gt; |
    &lt;a href=&quot;#&quot;&gt;阿里巴巴&lt;/a&gt; |
 &lt;/div&gt;
  &lt;p&gt;
    ©Copyright 2021 xuecss科技公司版权所有 | 苏ICP备1243123121号-2
  &lt;/p&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</description><pubDate>Fri, 08 Oct 2021 11:03:15 +0800</pubDate></item><item><title>CSS3导航菜单旋转切换代码</title><link>https://xuecss.cn/try/?id=53</link><description>&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;meta charset=&quot;UTF-8&quot;&gt;
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
&lt;title&gt;CSS3导航菜单旋转切换代码&lt;/title&gt;

&lt;style&gt;
	* {
		margin: 0;
		padding: 0;
	}
	.w {
		width: 1200px;
		margin: 140px auto;
	}
	.nav_menu {
		display: flex;
		justify-content: space-around;
		align-items: center;
		height: 50px;
		/* background-color: #4caf50; */
		/* border: 1px solid #ccc; */
		padding: 10px;
		color: #fff;
		
	}
	.menu_item {
		position: relative;
		flex: 1;
		height: 100%;
		line-height: 50px;
		text-align: center;
		transform-style: preserve-3d;
		transition: all 0.5s;
		/* margin: 0 5px; */
	}
	.menu_item:hover {
		cursor: pointer;
		transform: rotateX(90deg);
	}
	.home, .web_home {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		perspective: 300px;
	}
	.home {
		background-color: #4caf50;
		z-index: 11;
		transform: translateZ(25px);
	}
	.web_home {
		background-color: #009688;
		transform: translateY(25px) rotateX(-90deg);
	}
&lt;/style&gt;

&lt;/head&gt;
&lt;body&gt;

&lt;div class=&quot;nav_menu w&quot;&gt;
	&lt;div class=&quot;menu_item&quot;&gt;
		&lt;div class=&quot;home&quot;&gt;首页&lt;/div&gt;
		&lt;div class=&quot;web_home&quot;&gt;网站首页&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;menu_item&quot;&gt;
		&lt;div class=&quot;home&quot;&gt;首页1&lt;/div&gt;
		&lt;div class=&quot;web_home&quot;&gt;网站首页1&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;menu_item&quot;&gt;
		&lt;div class=&quot;home&quot;&gt;首页2&lt;/div&gt;
		&lt;div class=&quot;web_home&quot;&gt;网站首页2&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;menu_item&quot;&gt;
		&lt;div class=&quot;home&quot;&gt;首页3&lt;/div&gt;
		&lt;div class=&quot;web_home&quot;&gt;网站首页3&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;menu_item&quot;&gt;
		&lt;div class=&quot;home&quot;&gt;首页4&lt;/div&gt;
		&lt;div class=&quot;web_home&quot;&gt;网站首页4&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;menu_item&quot;&gt;
		&lt;div class=&quot;home&quot;&gt;首页5&lt;/div&gt;
		&lt;div class=&quot;web_home&quot;&gt;网站首页5&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</description><pubDate>Thu, 07 Oct 2021 21:17:43 +0800</pubDate></item><item><title>首页测试字体使用</title><link>https://xuecss.cn/try/?id=52</link><description>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt; 
&lt;title&gt;学习样式(xuecss.cn)&lt;/title&gt; 
&lt;style&gt;
h3 {
      /*把生成的css代码粘贴放到下面的空白处，然后点击运行*/









}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;h3&gt;我是h3开头的标签，很短。我是被h3样式控制&lt;/h3&gt;

&lt;h3&gt;我也是h3开头的标签，很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长...这个故事的名字叫 《很长》。我也是被h3的样式控制的&lt;/h3&gt;

&lt;p&gt;我开头是p开头的标签，h3的样式无法控制我。&lt;/p&gt;

&lt;/body&gt;
&lt;/html&gt;</description><pubDate>Thu, 07 Oct 2021 01:06:54 +0800</pubDate></item><item><title>css听觉</title><link>https://xuecss.cn/try/?id=47</link><description>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;学CSS样式网(xuecss.cn)&lt;/title&gt;
&lt;style&gt;
@media screen
{
    p.test {font-family:verdana,sans-serif;font-size:14px;}
}
@media print
{
    p.test {font-family:times,serif;font-size:10px;}
}
@media screen,print
{
    p.test {font-weight:bold;}
}
&lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;p class=&quot;test&quot;&gt;菜鸟教程 -- 学的不仅是技术，更是梦想！！！&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;</description><pubDate>Wed, 06 Oct 2021 10:55:11 +0800</pubDate></item><item><title>导航按钮</title><link>https://xuecss.cn/try/?id=46</link><description>&lt;head&gt;
&lt;style&gt;
nav{
    background-color: #17a1ff;
    border-color: #17a1ff;
    top: 0;
    border-width: 0 0 1px;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
}
nav ul {
    float:left;
    margin: 0px;
    padding: 0 0 0 0;
    width: 1200px;
    list-style: none;
}
nav ul li {
    display: inline;
}
nav ul li a {
    float: left;
    padding: 11px 20px; 
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    color: #fff;    
    font-family: Tahoma;
    outline: none;
}
nav li a:hover {
    color: #2a5f00;
}
&lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;
    &lt;!--导航开始--&gt;
     &lt;nav class=&quot;nav&quot;&gt;
       &lt;ul class=&quot;ul&quot;&gt;
           &lt;li&gt;&lt;a href=&quot;#&quot;&gt;首页&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;try&quot;&gt;在线测试&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;blog&quot;&gt;学习笔记&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;anniu&quot;&gt;css按钮样式生成&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;sfz&quot;&gt;生日&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;suijidianming&quot;&gt;随机点名&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;dianming&quot;&gt;统计点名&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;buju&quot;&gt;布局学习&lt;/a&gt;&lt;/li&gt;
       &lt;/ul&gt;
   &lt;/nav&gt;
   &lt;!--导航结束--&gt;
	&lt;/body&gt;</description><pubDate>Wed, 29 Sep 2021 23:37:16 +0800</pubDate></item><item><title>链接使用了 href 属性</title><link>https://xuecss.cn/try/?id=40</link><description>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;学CSS样式网(xuecss.cn)&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;a href=&quot;https://www.xuecss.com&quot;&gt;这是一个链接使用了 href 属性&lt;/a&gt;

&lt;/body&gt;
&lt;/html&gt;</description><pubDate>Thu, 23 Sep 2021 23:04:53 +0800</pubDate></item><item><title>在线编辑器</title><link>https://xuecss.cn/try/?id=33</link><description> </description><pubDate>Sun, 16 Feb 2020 14:28:01 +0800</pubDate></item><item><title>认识CSS的作用</title><link>https://xuecss.cn/try/?id=32</link><description>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;学CSS网(xuecss.cn)&lt;/title&gt;

&lt;style&gt;
     body { background-color:#f08a5d; }  
     /*解释：控制&lt;body&gt;...&lt;/body&gt;中的背景颜色为橙色*/

     h1 { color:#b83b5e;  text-align:center; } 
     /*解释：控制&lt;h1&gt;...&lt;/h1&gt;字体红色和居中*/

     p  { font-family:&quot;Times New Roman&quot;; font-size:20px; }  
    /*解释：控制&lt;p&gt;..&lt;/p&gt;字体和字体大小为20px */
&lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;
    &lt;h1&gt;大家好，我是CSS爱好者，我的样式由h1{...}控制&lt;/h1&gt; 
    &lt;p&gt;这是一个段落。我的样式由p{...}里面的数值控制&lt;/p&gt;
    &lt;h1&gt;我的样式依然由h1{...}控制&lt;/h1&gt;
&lt;/body&gt;
&lt;/html&gt;
</description><pubDate>Sat, 15 Feb 2020 22:18:49 +0800</pubDate></item></channel></rss>