淘宝首页广告圆角切换标签未解之谜(vml)
右下角的圆角切换标签,其他网站都是HTML5+CSS3做的,淘宝却不是。
窥探究竟…… 省去100字,找了半天终于找到了,上图
v:roundRect 是什么?度娘告诉我们答案。。。
1 <html xmlns:v>
2 <head>
3 <style>
4 v\:*{behavior: url(#default#VML);}
5 .qw { width:100px; height:120px; z-index:3; position:absolute; top:55px; left:30px; font-size:14px;}
6 </style>
7 </head>
8 <body>
9 <v:roundRect style="position:absolute;left:20px;top:50px;width:200px;height:140px;" FillColor="#000000" Filled="T" />
10 <div class="qw">
12 </div>
13 </body>
14 </html>
2 <head>
3 <style>
4 v\:*{behavior: url(#default#VML);}
5 .qw { width:100px; height:120px; z-index:3; position:absolute; top:55px; left:30px; font-size:14px;}
6 </style>
7 </head>
8 <body>
9 <v:roundRect style="position:absolute;left:20px;top:50px;width:200px;height:140px;" FillColor="#000000" Filled="T" />
10 <div class="qw">
12 </div>
13 </body>
14 </html>
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步