css解释
优先级:标签>页面镶入>外部,这个仅限同样的样式冲突是才有用
<p style="background-color: aqua">
shuaige
</p>
效果图如下:
<head>
<meta charset="UTF-8">
<title>luotianshuai_study</title>
<!--在头部指定好CSS样式然后,在标签里使用class="样式名应用"-->
<style>
.css_test{
background-color: darkorchid;
}
</style>
</head>
<body>
<div>
<p class="css_test">
<!--这里应用指定好的CSS样式名即可-->
shuaige
</p>
</div>
</body>
效果图如下:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbkAAABWCAIAAADdU3+cAAARBklEQVR4nO2dT2wbV37HCRRogKKID7u+yGmwQWPXgn1KigKpD9nVwVvsNoVhBOjBOVTAwocCNVx0Fz0kAeuu/wD2hl1vvPJaNbboyk0CyKutliIpDklTFmWTpihTHlmyE1UUFVGmJZsyJUocckjO9PCQ1+c3f/lHoux+P/gdyMc37735zcyXv/dnZhwqAAAAKxztbgAAALwAQCsBAMAaaCUAAFgDrQQAAGuglQAAYA20EgAArKlDK2VZzmQy0WjU7/cPDw+73W632z08POz3+6PRaCaTkWV56xoKAABtxJZWZrPZaDTq8/kikUg6nX727Fk+n1cURVGUfD7/7NmzdDotCILP57tx40Y2m93qRgMAwDZjoZWLi4uRSGRkZGRlZcVOcSsrKyMjI4IgLC4utqJ5AACwIzDUykKhEA6H/X7/6upqvYWurq76/f5YLFYoFJprHgAA7Aj0tTKbzbrd7rm5uWaKnpqacrvd6JIDAF4CdLQylUr5fL7l5eXmS19eXvZ6valUqvmiAACgjfBamc1mfT7f+vp6qypYX1/3+Xz1RpeSJKVSqVAo5PV6yYS71+sNhUKpVEqSpFa1DQAAbPKcVhYKBbfb3ZKIkmV5edntdtscu1xbWwsEAoIgRKPR5eVldsJ9eXk5GAwKgnD79u21tTWTQn4PAABNw0rKc1oZi8VsjlEuLS3VNdM9NzcXi8Uss01PT/v9/nQ6rSiKUR5FUdLptN/vn56eNsrD7iQAADSAoVZmMpmxsTE7RUxMTITD4Zs3b46Pj9uveGxsLJPJGP1aq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GAxm0+rQyqN7TjgcjpZoJQwGg71Y1p64EgaDwV4sg1bCYDCYtZlpJel0H3j1naN7Tpw5MHjlG608c2DQ4XA4HA4y5vju7vdp3/xHb5wlP5H8P9l31fENB1595/9qdTiO7jlBPrN5CD964+yVtxK0FofD8ZN9V9vuKRgM9v/ZDLXyzIFBom5Ey6hWcrJISmHjTTb/7ldeI5pIEonkEfkj6UQQiTiSAkmeMwcGaYEknRQIg8FgbTEzraQqRs1IE43SidFgk4aHVCu5zLRGIsraYBMGg8HaYmZ9cNK5ZrvP9WolUcl3d79PlFerlVc0sSfZ8N3d79MMMBgM1nazntshIR4ZmqxLK1l9NNFKdrySBo9H95xgxzdhMBisvWY9XnnlrcTRPScstZKOXR549R0ifP+094ruWOQVTVypbRbRVlZP0QeHwWBtNDOtpH1wImf0K1FAbpKafiW6SbvSJJF+YDck0+sODaRlRnPoMBgMtv3W/vvBuXHJMwcGEULCYLCdZm3WSrJ4k0tpu1NgMBiMs/bHlVwHHMvOYTDYDrT2ayUMBoPtfMM7JAAAwBpoJQAAWAOtBAAAa6CVAABgDbQSAACsgVYCAIA10EoAALAGWgkAANZAKwEAwBpoJQAAWPO/gXEby/rE+FkAAAAASUVORK5CYII=" alt="" />
外部引用
写一个独立的文件存储css样式代码如下:建议(在样式文件里加上标注防止出现遗忘)
<head>
<meta charset="UTF-8">
<title>luotianshuai_study</title>
<!--这里通过link导入样式,有点类似与python导入模块中的import *-->
<link rel="stylesheet" href="study_html_css.css">
</head>
<body>
<div>
<p class=page_color>
<!--这里直接应用指定好的CSS样式名即可-->
shuaige
</p>
</div>
</body>
效果图如下:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAooAAABSCAIAAABc5GKwAAAXHUlEQVR4nO2de3BT153HNbOz29nHmHbb/BGn6bRLSWGS/rFJXyydDWYL7JI+2Gy7nQzZ1m6zzNJtWXZImp0JWS0thhpqJSTECYQ2TUzitBCnRpZkSZZlLIOELGFLxobgyg8s21hYRrYsybp63P3j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EuvR3dsGXRqMhqibaprvQX9gda2pq2OXZFBIAm1UjkwYAAHBXsfz33BZcYw4EAkiUAQAA3OUss563bt0q0DMSZQAAAGD5s2dBZRt3IAEAAACWX88AAAAAECCrZwAAAAAsF9AzAAAAUHJAzwAAAEDJ8f/Rr7NhCshZEgAAAABJRU5ErkJggg==" alt="" />
<head>
<meta charset="UTF-8">
<title>luotianshuai_study</title>
<style>
#name{
background-color: red;
}
</style>
</head>
<body>
<div>
<p id="name">
<!--这里不需要指定,只要id=name的就会自动应用头部指定的CSS样式-->
shuaige
</p>
<p id="name">
luotianshuai
</p>
</div>
</body>
效果图如下:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoQAAABwCAIAAAAISfY+AAAZNklEQVR4nO2da3Abx2HHb6bTzvQxUtKkH8wZZ9IqTqQZ50Mb5+Eq04psJLZyHko7acYjNyGTNK7SxFXHTtwZy2WV6BFKIWzZsmzLchKHsulEMh0JBEAABEERlACBoEiAIiWLAR8iSIoUQYEEARCHx/XDBuvlvXB4kEdR/9/8P5CHvd3Fgbwfdm9x4AQAAAAA6AqndwcAAACAex3IGAAAANAZyBgAAADQGcgYAAAA0BnIGAAAANCZAmTM83woFHK73VartbW11Wg0Go3G1tZWq9XqdrtDoRDP8yvXUQAAAGC9oknGU1NTbrfbYrG4XK7R0dE7d+5EIpFsNpvNZiORyJ07d0ZHR202m8ViaW9vn5qaWulOAwAAAOuJPDIeHx93uVwdHR0zMzNaqpuZmeno6LDZbOPj4+XoHgAAALD+UZRxNBp1Op1Wq3Vubq7QSufm5qxWq8fjiUajpXUPAAAAWP/Iy3hqaspoNAaDwVKq7u/vNxqNmLUGAAAA1JGR8fDwsMVimZ6eLr326elps9k8PDxcelUAAADAekUs46mpKYvFsrCwUK4GFhYWLBZLoePjRCIxPDzscDjMZjNZtm02mx0Ox/DwcCKRKFffAAAAgLXAMhlHo1Gj0ViWMTHL9PS00WjUeP14fn7ebrfbbDa32z09Pc0u256enm5ra7PZbJcuX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TtvFbClIxnRcXg0ZIwiCIGsvZZBxNVNdvYaRMcdcb84rY4HZwjGT2NplzAoYMkYQBEHWYAqTMVEdvQbclCvDLpUSybWe2eX3TeY2ujTIeA/jVy0yFq0gq+e4aubtAgcZIwiCIGsv+W/6QR1ZzRiOHbmyJdnhLN1SzxQQmF+rmbXTbA2U+pxN6UMuhZLssiwuJ1pW+XQ7lxsfc7mmdX8NEARBkHs8uDc1giAIgugcyBhBEARBdA5kjCAIgiA6BzJGEARBEJ2jLGMAAAAArAqQMQAAAKAz/w8/IVHSXnzc3gAAAABJRU5ErkJggg==" alt="" />
标签应用,为指定标签统一设置格式:在头部<style>p{....}</style> 这里的p是标签的名称,也可以是div这样就会给所有的div设置格式,代码如下
<head>
<meta charset="UTF-8">
<title>luotianshuai_study</title>
<style>
p{
background-color: lightskyblue;
width: 100px;
height:100px;
}
</style>
</head>
<body>
<div>
<p>
<!--这里不需要指定,只要id=name的就会自动应用头部指定的CSS样式-->
shuaige
</p>
<p>
luotianshuai
</p>
</div>
</body>
效果图如下:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoQAAAEVCAIAAAD2B2NjAAAd8klEQVR4nO3da1Bc12HA8Z3ptDN9jJRU6QczTiZ1YkWacT60cRKpzrRCjZXKzkNtR40zchPIizZNIndsJZ2xUupEgtiKiOXYsiM7ThwRy4kUEml5iOWxCJAW8RBiMbJkBYQEEgKzCLGwC8vu3n4445Oj+2JhFw7a/H/DB3G5e+/du2L/nLOXxWMAAACtPLoPAACAP3TEGAAAzYgxAACaEWMAADQjxgAAaDaPGMdiscHBwUAgUF1dffz4ca/X6/V6jx8/Xl1dHQgEBgcHY7HY4h0oAADZKqUYDw0NBQKBqqqqpqam/v7+GzdujI+PJ5PJZDI5Pj5+48aN/v5+n89XVVVVX18/NDS02AcNAEA2mSPGAwMDTU1NDQ0NIyMjqWxuZGSkoaHB5/MNDAxk4vAAAMh+jjEOh8N+v7+6unpsbGy+Gx0bG6uurm5paQmHw+kd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CSS常用属性
background 【背景】
background-color 背景颜色 代码如下:
<div style="background-color: red">
Hello,html
</div>
显示效果:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbkAAABDCAIAAACOSOy0AAAQYElEQVR4nO2dT2wb2X3HCQTooSiqQ9ILgSxSaL2xAN+2yKG+pDpYRdItfOtBeygvBhyghQMEyGF3wbo1bNjOslHWkQN1kaCRu1pAjlKHIikOSY8kyiZNUaY8smTvqqKoJWWatClTosQhh5yZHh708PTmzZvhH8my8fvgd5Ae37z3m99wvvy99+aPQ7eNoii5XC4WiwWDwampKa/X6/V6p6amgsFgLBbL5XKKothvDQAA4A3CYadSPp+PxWKBQCAajWYymVevXpXLZU3TNE0rl8uvXr3KZDKCIAQCgbt37+bz+cN2GgAA4Iix0MpsNhuNRqenp4vFop3misXi9PS0IAjZbLYb7gEAABwLTLWyUqmIohgMBre2tlptdGtrKxgMxuPxSqXSmXsAAADHArZW5vN5r9e7trbWSdNLS0terxeG5AAAvAUwtDKdTgcCgUKh0HnrhULB7/en0+nOmwIAAHiN0FqZz+cDgcDOzk63OtjZ2QkEAq1ml7Isp9PpSCTi9/vRgrvf749EIul0WpblbvkGAABgkwNaWalUvF5vVzJKkkKh4PV6bc5dbm9vh0IhQRBisVihUCAX3AuFQjgcFgTh/v3729vbnEb+BAAA0DGkpBzQyng8bnOOcnNzs6WV7rW1tXg8bllteXk5GAxmMhlN08zqaJqWyWSCweDy8rJZHXInAQAA2sBUK3O53NzcnJ0mFhYWRFGcmZmZn5+33/Hc3FwulzP7VFVVSZIikUij0bDTWqPRiEQikiSpqmr8FLQSAIAOMdXKubm5UqlkuX0ymRRFsdlsapoWi8USiUSz2bTTcalUCoVCZp8uLS3ZSTwp4vH40tKSsRy0EgCADmFrZTabTSQSlhsjoSRTuYWFhSdPntjsO5FIPH361Fi+srIiiiJn3G2GpmmiKBo9Z2rlEJfZ2dlWewcA4C2GrZXRaNTymvNkMjkzM0ONeR8+fLiysmKz762tLUEQqMLt7W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ESaaWXvQa28SqSZ+sH6oJVgYGDHyjrNK6+yGuVoJTnXeRXySjAwsDfEOtLKMUIHdYfjqtUYHNXH8tprPl/J0cqr+12AVoKBgR2ZdXrfzlWiBKsYYuDgqjcplw5CBHWH4/z+5tSnVMu4HPs2sL+tcZMoUQ3kEgwMrEM7RveDM4fzYGBgYMfBjoVWnj84cAYDAwM7bnYstBIMDAzsmBtoJRgYGJi1wTskAAAArAGtBAAAsAa0EgAAwBrQSgAAAGtAKwEAAKwBrQQAALDm/wFOf0pxFolBfwAAAABJRU5ErkJggg==" alt="" />
background-image 背景图片 代码如下:
<div style="background-image: url(favicon.ico);height: 80px;" >
</div>
显示效果如下:aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAABVEAAACLCAIAAADnH05qAAAgAElEQVR4nO3dfXAU553g8amA73KXlM1rURJlam0SXhJtUSQkq5wDZ0hkLk4caRWkVIpcFnaNifZ2g6/ydlTI6bwxVmwvSiwIsYCJjSWMsRBZ0BsaaRhpJNALEkKDxaslBHqzBHqbkUaakab7/njsTtMz09Ojd5Tvt/wHGn2muzWi8Pymn+kxyUREREREREQ0GzNN9wEQERERERER0aTEzE9EREREREQ0O2PmJyIiIiIiIpqdMfMTERERERERfZwpSFN8DDU1Nf6319TUhHskzPxEREREREREHxdwqJ7imb+mpuaR//xpzdgf8MaQMfMTERERERER6Z3hn+KZX/ab8Mc28MvM/ERERERERESy7hn+qZ/5ZdWcP+aBX2bmJyIiIiIiIpJn3swvfzL2j3ngl5n5iYiIiIiIaHoLtqh+ii+ex8xPRERERERENDubaTM/a/uJiIiIiIiIJqZgM//Uf1afzDX8iIiIiIiIiCawmfApfSI+q4+IiIiIiIhoIpv2CwqojyTgbF9TUxPu8TDzExEREREREc3Owpj5vV5va2trRUVFYWHh2bNnc3JycnJyzp49W1hYWFFR0dra6vV6J+9AiYiIiIiIiCisDM38HR0dFRUVBQUFZWVlzc3Nvb29fX19kiRJktTX19fb29vc3GyxWAoKCs6dO9fR0THZB01E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dbhf3mTNnzpIlS+bOnRtsH3g8Ho/H4/F4PB6Px+On3Rua+efPn9/S0pKSkhIVFWU2m3t7e2VZdrlcZrN5xYoVJpNp0aJFu3btiomJEfvA4/F4PB6Px+PxeDweP+3e0MxvMpmsVmtSUpLH49F8V5Kk/v5+SZJkWd65c6fYBx6Px+PxeDwej8fj8fiZ40PP/Lt37w5mRJp94PF4PB6Px+PxeDwej58Jnpkfj8fj8Xg8Ho/H4/H42emZ+fF4PB6Px+PxeDwej5+dfgJm/h07doR1THg8Ho/H4/F4PB6Px+OnwBua+Z1O5/79+9evXx8REREdHZ2WluZ2u2VZliTJbrcvXbpUsw88Ho/H4/F4PB6Px+Px0+XDmPm3bNkyb94804MtXLhww4YNy5YtE1+q94HH4/F4PB6Px+PxeDx+Gn0YM39cXJwpVOp94PF4PB6Px+PxeDwej59Gb3TmX7NmzYIFC4zvA4/H4/F4PB6Px+PxePz0+tAzf0JCQshNKyUkJODxeDwej8fj8Xg8Ho+fCT70zO9yuRITE1cZKDEx0eVy4fF4PB6Px+PxeDwej58JPvTMT0REREREREQPdf8fgfxx92wIzcIAAAAASUVORK5CYII=" alt="" />
首先确认,div是块级别的标签,我们的图片仅仅是一个小的图片,但是现在是平铺,所以看下面的代码:
<div style="background-image: url(favicon.ico);height: 80px;background-repeat: no-repeat" >
</div>
显示效果如下图:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbgAAABTCAIAAABiXIURAAAQj0lEQVR4nO2dW2wbV36HBSToQ1HUSewgiII1dtH4IsBAECQogjUSbAXEW+w2tWDE7oPzUD3EQQq0cYEFiiAJWLeGBdgbdn1ZeaHGW3TlJgHk1dalSIpD0pRF2aQpypRHluxEFUWFlGnKpkSJEocckjN9OOjB+MyVFCXZyu+DHsThmXP+c2bm47nMpUkGAABgSNNGBwAAAI87ECUAAJgAUQIAgAkQJQAAmABRAgCACRAlAACYAFECAIAJECUAAJhQgyhFUUylUqFQyOPx9Pf3OxwOh8PR39/v8XhCoVA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EAq6QBr4Lw+Xy1TuZ4vV6D1+yQV0EEAgHrr4IIBAI8XgUBAFgbdF8uFggELL6D+/79+wZXFKmJx+NWOtfj4+Mcx83MzBi/XGxmZobjOLxcDACwduiKcmlpqaenx+BJlvUxNzfncDgsvis8l8tdu3ZN+bpaujyTyYRCIY7jOI6jyzVZm1dXAgC+X1ClsHenp9Pp3t5ei+/gtkI+n+/t7U2n0zWtJQhCPB73+/0ul4tE7HK5yAOEjO9JAACAhqPxGI+pqane3t6GtCvn5uZ6e3stviscAAAeT7Sfd5ROp3t6eiyOV+oRj8d7enpqbUsCAMDjhrYoAQAAUCBKAAAwAaIEAAATIEoAADABogQAABMgSgAAMAGiBAAAEyBKAAAwAaIEAAATdEW5tLS0f//+H1lg//79Fh94AQAATyK6ojxw4ECTZQ4cOLCeQQMAwHqiK8pdu3Y1NTW9/vrrzz//vKkod+3atZ5BAwDAemIkyldffVWSpMHBQWLDp5566oUXXnj66achSgDA9wojUT777LPJZLKjo2PPnj0XLlxYWFiQZTmfz1+4cGHnzp1NTU3btm376KOP3n77bYgSALCJMel6+/3+Dz/8sFQqMd9KkrS4uEhe2PDBBx9AlACATYy5KD/++GPjLCBKAMDmBqIEAAATIEoAADChAaJ8//33IUoAwCbGkiiXlpbOnj375ptvvvjii2+88caZM2cKhYIsy+TioZdeegmiBABsYsxF+e677z7zzDPMhZNbt2596623tm/fjusoAQCbHnNRtrW14c4cAMD3GRNRvvLKK8899xxECQD4PqMryoMHD5r6kXLw4MH1DBoAANYTXVHm8/lDhw7ttsChQ4fy+fx6Bg0AAOsJHtwLAAAmQJQAAGACRAkAACZAlAAAYAJECQAAJkCUAABgAkQJAAAmQJQAAGACRAkAACZAlAAAYAJECQAAJkCUAABgAkQJAAAmQJQAAGACRAkAACb8H+bLeVw91+k6AAAAAElFTkSuQmCC" alt="" />
border 【边框】
设置边框,效果图如下图:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgoAAACjCAIAAABkL6ENAAAd6ElE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aqh/qSZGloOWlTOpRs2BGmKk+ZXm5qQaKbXEqODnNyfVsB61EiPVT1UraFKNim5idPxfb06q0VPVQ4yOffXYzUk1zHZilPblm5Nq9NX2EaPUR1NX0KQa015itP3jNyfV8Ll9xCjhIwk3J9XwBojRWx+8OalGMBAkRlv/eqswq0k1AAAAEA8AAMCBeAAAAA7EAwAAcCAeAACAA/EAAAAciAcAAOBAPAAAAAfiAQAAOBAPAADAgXgAAAAOxAMAAHAgHgAAgAPxAAAAHIgHAADgQDwAAAAH4gEAADgQDwAAwIF4AAAADsQDAABwIB4AAIAD8QAAAByIBwAA4EA8AAAAB+IBAAA4EA8AAMCBeAAAAA7EAwAAcCAeAACAA/EAAAAciAcAAOD4P5QHJlFqRuN9AAAAAElFTkSuQmCC" alt="" />
代码如下:
<!--border:有3个参数:线的粗细、线的样式(实线、点、虚线等)、线的颜色-->
<!--第一种:线的粗细为1像素,实线、红色-->
<div style="border:1px solid red;height:10px" ></div>
<!--第二种:线的粗细为1像素,点、蓝色-->
<div style="border:1px dotted blue;height:10px" ></div>
<!--第三种:线的粗细为1像素、虚线、紫色-->
<div style="border:1px dashed purple;height:10px" ></div>
边框可以单独的设置一边的边框、上、下、左、右
<!--在左边设置边框,3px、实线、红色-->
<div style="border-left: 3px solid red">Luotianshuai</div>
效果图如下:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgkAAABbCAIAAAB22YF6AAAZV0lEQVR4nO2df1Bb15XHNbPTbffHOGXb/SOeSae7alp7Jv1jN+qPrDu7xluvdp1O6+5Ol8k4m+K22yzdNpudpM0OSZZ1a8fFLkqcOA7GblIXCHaxSbGQhCSEMAJLCGGEMMY2ERYgwIAAgUBCT9J7+8dJb6/ve3o8hJAIPp/hD3F1f5z3EOf77jn3XqkEBEEQZB2oVKoM3tpQPB7PRz76sY989GMejyezHvJjN4IgyPpRyZJLMzJ4a0NBbUAQBMkzm00bQBg8Hg95kUEnqA0IgiDrYlNpA6MHGcsDagOCIMi62Dza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1gaBctkwOh37yqI2eL1etVpN8ueS/aTrCkEQJItsoDYQd6lcG0pLS5lOwOmTtTrKtQFWHK0/30ATCoUgL6Ki8szZ0oZQKAQLnOjDMFAbEATJCxulDQ6Hgzxcg4Nj8syM14N8AL1eE4BlQsTzKtcGcbWMc9FMmgFMZZRPoTYwXYmnRIwxqA0IguSFDdEGOA+O+EFwpvRBeGSPGHmuJ9sg6BVBgiBAXIg8SpPMMJQQpwmOVaPRUFbfE/zx+/304lR46pfRBmItbHoQV2CUT1IbaDmE6yUlEKRiroXRD4fDQVL0oVCIlNOtEARBNoL1nsPKJGZDoZDBYICDQkkh8XqwNUyj0Xi9XrItgN7sBtVAHkKhEKzpZIYAd1lUVFRaWko8MtmzxoR6YNtaSUmJVquFcJBGoyEbpKGVWq2md7oRw+gNaEVFRWTTHKQEoD65FVqtljhronO0qJAFV6WlpbCFjexv0Gg05eXlsMMDhi4vLweDwRjY8g39w0RKLKIIgiBZJDvf3yCGeY4mm5zJYRJarVZ8iAWcTkFcpOSyUeiK3pwsOTTx8qQmPIar1WqHw0Hkim4lWQhuGuYcpDdaNmjIyiIaYjnJVRA5ZE7FgFy0ijq3A5RAq9VCHabzvH9tBoIgW5Ut8r1vCIIgSBZBbUAQBEFYUBsQBEEQFtQGBEEQhAW1AUEQBGFBbUAQBEFY0NcjCIIgLKgNCIIgCAtqA4IgCMKC2oAgCIKwoDYgCIIgLKgNCIIgCAtqA4IgCMKC2oAgCIKw/D8/05pehS3AewAAAABJRU5ErkJggg==" alt="" />
Display
代码如下:
<!--display 为none将隐藏标签-->
<div style="display: none;">Luotianshuai</div>
<!--display 为inline会将块级别标签调为内联标签-->
<div style="background-color:red;display:inline">Luotianshuai</div>
<!--display 为block会将内联标签调为块级别标签-->
<a style="background-color:red;display:block">Luotianshuai</a>
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgUAAACSCAIAAABaAi6IAAAdVUlEQVR4nO2da1Cc13nHz0yn944cmvSDNeNMWuJEmnE+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0AAaDwWCUQA9gMBgMxiwZPQAAAHBvAD0AAABAKfQAAAAAA3oAAACAUugBAAAABvQAAAAApdADAAAADOgBAAAASqEHAAAAGNADAAAAlEIPAAAAMKAHAAAAKIUeAAAAYEAPAAAAUAo9AAAAwIAeAAAAoBR6AAAAgAE9AAAAQCn0AAAAAAN6AAAAgFLoAQAAAAb0AAAAAKXQAwAAAIz/B1mv7FUQBEy/AAAAAElFTkSuQmCC" alt="" />
cursor 鼠标停放所显示的效果
代码如下(实际效果自己写看):
<div style="cursor:pointer">停放在这里显示小手(pointer)</div>
<div style="cursor:help">停放在这里显示问号(help)</div>
<div style="cursor:wait">停放在这里显示问号(wait)</div>
<div style="cursor:move">停放在这里显示移动(move)</div>
<div style="cursor:crosshair">停放在这里显示定位(crosshair)</div>
浮动 float (用的比较多,用来布局使用)
效果图如下:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAsUAAAEtCAIAAABvVoo9AAAgAElEQVR4nO3deVCc953ncaqmZu+SMpvsH1ZVUrM7cSJVeWpqN44nHrl2JSVWdu1sonF2kkrJm4GZrLU7R9ZT9iRbZWVZT3Q4lkUsR5HNZR2AZBlBRuISDU1ziqsRohGSEAYhTgECcXZDX8/+8SRPHj3d/dBAi5/4/d6fev0BTffzfRq3/Hx4ju4kjRBCCCGPR5KSklbxo0cRt9v9u//0n7nd7mVv1LOuK0cIIYQQmyTZZp3XJGpvcLvdUddkmZXz+/1DQ0ONjY3l5eWXL18uKioqKiq6fPlyeXl5Y2Pj0NCQ3+9PzIoTQgghZMMmZp8YHR1tbGwsKyurq6vr7+9/8ODB9PR0OBwOh8PT09MPHjzo7+93OBxlZWVVVVWjo6PrudKEEEIIeawSpU8MDg7W1dVVV1ePj4/Hs4jx8fHq6mqHwzE4OJjo1SOEEELIBshDfWJubs7lcpWXl09NTa10QVNTU+Xl5U1NTXNzc4lbPUIIIYRsgPy2T4yOjhYVFfX29q5lcZ2dnUVFRRz+IIQQQpTKr/tEX19fWVnZ2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WIng8AkBl9QhWi5wMAZEafUIXo+QAAmdEnVCF6PgBAZvQJVYieDwCQGX1CFaLnAwBkRp9Qhej5AACZ0SdUIXo+AEBm9AlViJ4PAJDZ6vrE/wd/oHh3Xi2l1QAAAABJRU5ErkJggg==" alt="" />
代码如下:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>luotianshuai_study</title>
<style>
.float-left{
width:20%;
background-color:red;
height: 500px;
float: left;
/*这里长和宽,可以用百分比或者直接指定像素来指定*/
}
.float-right{
width: 80%;
background-color:blue;
height: 500px;
float:left;
/*这里长和宽,可以用百分比或者直接指定像素来指定*/
}
</style>
</head>
<body>
<div class="float-left"></div>
<div class="float-right"></div>
</body>
</html>
float
注:这里需要注意,有一种情况,如果不给父div设置高度,并且设置了float之后,子的float可能会覆盖父div的颜色怎么办?在父的div内加一条:
<div style="clear:both;"></div>
更多见:http://www.cnblogs.com/wupeiqi/