上一页 1 2 3 4 5 6 7 8 9 10 ··· 39 下一页
摘要: 应用 :求面积 1,抽象类 Geometry . public abstract class Geometry { public abstract double getArea(); } 2,矩形 Rect public class Rect extends Geometry{ double a,b 阅读全文
posted @ 2020-11-27 15:52 武卡卡 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1, 表结构 man + + + + + + +| id | int(11) | NO | PRI | NULL | auto_increment || name | varchar(20) | YES | | NULL | |+ + + + + + + 2 ,解决方法 insert into ma 阅读全文
posted @ 2020-11-12 19:26 武卡卡 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 原理 :利用 inline-block 将 导航 作为 文本 , 被外层具有 text-align 属性的导航盒子包含 。从而实现居中效果 1. html 结构 <header> <div class="nav-wrap"> <nav>hello</nav> </div> </header> 2. 阅读全文
posted @ 2020-11-10 14:53 武卡卡 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 一,属性介绍 1. 浏览器支持 注释:Internet Explorer 8 以及更早的版本不支持 <figure> 标签。Internet Explorer 9, Firefox, Opera, Chrome 以及 Safari 支持 <figure> 标签。 2. 定义和用法 <figure> 阅读全文
posted @ 2020-11-07 02:19 武卡卡 阅读(522) 评论(0) 推荐(0) 编辑
摘要: 上效果图 : 上代码 : <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 阅读全文
posted @ 2020-11-06 00:00 武卡卡 阅读(1012) 评论(0) 推荐(0) 编辑
摘要: 1, index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <t 阅读全文
posted @ 2020-11-04 10:29 武卡卡 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 通过 github 搜索 object-fit ie , 借鉴大佬兼容 ie 的经验。 下载解压到文件夹 , 打开测试目录 , 查看 demo 使用 ie 打开demo , 查看显示效果 : 代码 : <!DOCTYPE HTML> <html> <head> <meta charset="utf- 阅读全文
posted @ 2020-10-30 08:54 武卡卡 阅读(2784) 评论(0) 推荐(1) 编辑
摘要: 造成原因: 图片的 display 属性默认是 inline ,而这个属性的 vertical-align 的默认值是baseline。 解决办法1( 建议使用block , 对 ie浏览器 比较友好 ): 将 img 的 display 设置为 block img{ display : block 阅读全文
posted @ 2020-10-29 08:52 武卡卡 阅读(1454) 评论(0) 推荐(0) 编辑
摘要: img{ max-width: 100%; height: auto; } 阅读全文
posted @ 2020-10-28 23:16 武卡卡 阅读(78) 评论(0) 推荐(0) 编辑
摘要: Integer.valueOf("str").intValue(); Integer.valueOf("123").intValue(); 阅读全文
posted @ 2020-10-25 11:46 武卡卡 阅读(412) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 39 下一页