|
|

楼主 |
发表于 2022-1-11 11:36
|
显示全部楼层
本帖最后由 马黑黑 于 2022-1-11 11:58 编辑
一楼代码分享:
- <style type="text/css">
- .np-main {
- margin: 10px auto;
- width: 600px;
- height: 380px;
- background: #fff;
- border:1px solid #b3b3b3;
- border-radius: 10px;
- resize: both;
- overflow: auto;
- font-family: 'Microsoft Yahei';
- }
- .np-title {
- height: 30px;
- line-height: 30px;
- padding-left: 8px;
- padding-right: 8px;
- font-size:15px;
- margin-top: -1px;
- background: #46474b;
- border-radius: 10px 10px 0 0;
- color: #fff;
- }
- .np-menu {
- height: 25px;
- line-height: 25px;
- font-size: 0.8em;
- background: #eee;
- }
- .np-pointer {
- height: 20px;
- line-height: 20px;
- font-size: 14px;
- padding: 2px;
- color: #000;
- }
- .right { float: right; }
- .np-fl { animation: np-Flash 1s infinite; }
- @keyframes np-Flash { 100% { color: #fff; } }
- </style>
- <div class="np-main">
- <div class="np-title">*无标题 - 记事本<span class="right">━ 口 <strong>×</strong></span></div>
- <div class="np-menu"> 文件(F) 编辑(E) 格式(O) 视图(V) 帮助(H)</div>
- <div class="np-pointer">Hello CSS!<span class="np-fl">|</span></div>
- </div>
复制代码
|
|