html+css+jquery右侧固定功能

2025-05-12 12:00:05

1、新建html文档。

html+css+jquery右侧固定功能

3、书写css代码。<style>*{ padding:0px; margin:0px;}.box{ width:1000px; background:#ccc; margin:0 auto; overflow:hidden;}.main{ width:770px; height:2000px; background:#000; float:left;}.sub{ width:220px; background:#FC6; float:right;}.sub01{ width:220px; height:100px; background:#0CC; margin-bottom:10px;}.fixed{ width:220px; height:300px; background:#F66; font:normal 13px/30px \5FAE\8F6F\96C5\9ED1; text-align:center; top:10px;}</style>

html+css+jquery右侧固定功能

5、代码整体结构。

html+css+jquery右侧固定功能html+css+jquery右侧固定功能
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢