css小记(rotate3d)
来源:互联网 发布:帝王三国破解版无网络 编辑:程序博客网 时间:2024/06/05 13:33
如下图效果:
html代码:
<p class="note">The <code >type</code> attribute of the <code>source</code> element allows the user agent to avoid downloading resources that use formats it cannot render.</p>
css设置:
.note { position: relative; color: green; background: #DDFFDD; font-style: italic; margin-left: 2em; padding-left: 2em;}<pre name="code" class="css">.note::before { content: 'Note'; background: green; color: white; padding: 0.15em 0.25em; font-style: normal; position: absolute; top: -0.2em; left: -1.5em; transform: rotate(-5deg);}
transform: rotate3d (1, -1, 0, 60deg);
0 0
- css小记(rotate3d)
- 【整理】css小记(不断更新)
- css小记
- CSS小记
- css小记
- CSS 小记
- CSS小记
- CSS-小记
- CSS小记
- CSS 小记
- div +css 小记
- FF-CSS 小记
- table css 小记
- css层叠样式小记
- CSS兼容性小记
- CSS的display小记
- CSS布局小记
- css 学习中小记
- SQL集合
- SAP概念之Client(集团)
- Android仿虾米音乐播放器之service
- R中的曲线拟合
- UI设计中我们为什么需要设计动效
- css小记(rotate3d)
- 作弊揭发者
- 20. 顺时针打印矩阵
- 设计模式:单例模式的写法(基础写法和线程安全写法)
- Flatten Binary Tree to Linked List
- vijos p1686 爱国者的周期
- 在Python的Django框架中加载模版的方法
- WatchKit 的 WKInterfaceTable 简单使用
- AOS应用基础平台-模块开发流程