温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

CSS如何实现数字列表

发布时间:2022-03-05 10:06:45 来源:亿速云 阅读:212 作者:小新 栏目:web开发

这篇文章给大家分享的是有关CSS如何实现数字列表的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS列表的使用</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
* {
margin: 0;
padding: 0;
}
body {
font-size: 12px;
font-family: Helvetica, sans-serif;
}
h3 {
font-size: 1.7em;
margin-bottom: 5px;
}
h3.number {
position: relative;
top: 0px;
left: 0px;
font-size: 10em;
color: #ccc;
float: left;
margin-right: 10px
}
#page-wrap {
width: 760px;
background: white;
margin: 0 auto;
padding: 10px 0px 50px 0px;
}
.comment-box {
margin: 0px 0px 50px 50px;
padding: 20px;
width: 240px;
border: 1px solid black;
float: left;
}
</style>
</head>
<body>
<div id="page-wrap">
<div class="comment-box">
<h3 class="number">1</h3>
<p>  在松下1121票据打印机上测试并通过,直接在左侧输入打印内置命令,
然后点击“打颖就会执行打印动作。同时它还能执行简单的脚本命令,
这样你可以控制打印时在指定字符处换行或输出其它字符的功能。。</p>
</div>
<div class="comment-box">
<h3 class="number">2</h3>
<p>  银行业务单据、支票打印系统Delphi控件版,用了FASTREPORT控件,
还有几个自己写的函数,现在奉献给大家,肯定指导,
研究本程序对学习Delphi打印功能的编写很有帮助哦。</p>
</div>
<div style="clear: both;"></div>
</div>
</body>
</html>

感谢各位的阅读!关于“CSS如何实现数字列表”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

css
AI