<!DOCTYPE HTML> <html> <head> <style type="text/css"> .ribbon-content { border: 1px solid #DDD; font-weight: bold; margin: 0 -10px; min-height: 30px; padding: 7px 31px; text-align: center; line-height: 30px; } .ribbon-left { display: block; border-left: 10px solid white; border-top: 8px solid #EEE; float: left; height: 0; margin-left: -10px; width: 0; } .ribbon-right { display: block; border-right: 10px solid white; border-top: 8px solid #EEE; float: right; height: 0; margin-right: -10px; width: 0; } </style> </head> <body> <div style="margin: 0 auto; width: 200px;"> <div class="ribbon" style="background: whiteSmoke;"> <div class="ribbon-content" style="background: whiteSmoke;">标题</div> <div class="ribbon-left"></div> <div class="ribbon-right"></div> </div> <div style="background: whiteSmoke;">内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容</div> </div> </body> </html>
XHTMT|
HTML5|
CSS|
HTML DOM|
jQuery|
JSON|
AJAX|
LESS|
HTML|
Bootstrap|
Foundation|
AngularJS|
Ember.js|
TypeScript|
AngularJS2|
React|
jQuery UI|
jQuery EasyUI|
Node.js|
Highcharts|
Echarts|
Vue.js|
CoffeeScript|
Ext.js|
Meteor|
SASS|
Omi|
Markdown|
前端开发规范|
浏览器|
webpack|
JavaScript|
CSS3|
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字
上传中....