![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
html+css
是小王啊i
沉淀
展开
-
css3新特性详解
1.css3实现边框圆角 border-radius 如果你在 border-radius 属性中只指定一个值,那么将生成 4 个 圆角。 但是,如果你要在四个角上一一指定,可以使用以下规则: 1.四个值: 第一个值为左上角,第二个值为右上角,第三个值为右下角,第四个值为左下角。 border-radius: 15px 50px 30px 5px 2.三个值: 第一个值为左上角, 第二个值为右上角和左下角,第三个值为右下角 border-radius: 15px 50px 30px 3.两个值: 第一个值为原创 2020-09-24 15:17:44 · 191 阅读 · 0 评论 -
css手风琴案例
纯css实现手风琴 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> *{ margin: 0; padding: 0; } li{ list-style: none; } #box{ width: 1002px;原创 2020-09-13 20:00:50 · 196 阅读 · 0 评论 -
css实现轮播图
css轮播图案例 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> *{ margin: 0; padding: 0; } div{ width: 500px; height: 300px; overflow: hidd原创 2020-09-13 19:59:31 · 333 阅读 · 0 评论 -
css基础
13131原创 2020-09-13 19:52:13 · 92 阅读 · 0 评论 -
html中src和href的区别
href和src的区别 1.请求资源类型不同 href 指向网络资源所在的位置 ,建立和当前元素和当前文档之间的联系。(例:锚点定位) 锚点定位:锚点其实就是可以让页面定位到某个位置上的点 src: 请求并下载资源并应用到文档中 例如:img中src属性 应用script脚本 锚点定位的写法 **1.a标签+name/href属性 2.标签设置id值** <a href="#box1">我跳到box1</a> <a href="#" name="#box2"&g原创 2020-09-10 18:23:31 · 285 阅读 · 0 评论 -
初识html
HTML HTML,超文本标记语言,写给浏览器的语言,目前网络上应用最广泛的语言。HTML也在不断的更新,最新版本已经出现了HTML5。在HTML5中出现了许多新特性,也遗弃了一些旧元素。我们写好html文件后,在浏览器中打开。主流的浏览器包括IE、Firefox、Chrome、Goole等。 前端编辑器下载地址 hbuilder编辑器 超好用的编辑器哦 第一个html实例 <!DOCTYPE html> <html> <head> <meta charset="原创 2020-09-09 20:15:53 · 301 阅读 · 0 评论