• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






螃螃蟹

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2021年8月28日

css-一行文字超出宽度多余显示...
摘要: <style> .flows{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } </style> 阅读全文
posted @ 2021-08-28 10:54 螃螃蟹 阅读(127) 评论(0) 推荐(0)
 
css-选择器包含*,以什么开头
摘要: <style> [class*="b"]{ border: 3px solid red; } [class^="A"]{ border: 1px solid blue; } </style> 阅读全文
posted @ 2021-08-28 10:53 螃螃蟹 阅读(241) 评论(0) 推荐(0)
 
css-:after伪样式
摘要: .hot{ width: 100px; height: 100px; border: 1px solid red; position:relative; justify-content: ; } .hot:after{ content:''; height:12px; background-colo 阅读全文
posted @ 2021-08-28 10:48 螃螃蟹 阅读(54) 评论(0) 推荐(0)
 
css-hover-after鼠标移入展示下划线
摘要: .kk:hover:after{ left: 0%; width: 100%; } <div id="" class="flexs"> <div class="kk">123</div> <div class="kk">456</div> <div class="kk">789</div> <div 阅读全文
posted @ 2021-08-28 10:47 螃螃蟹 阅读(335) 评论(0) 推荐(0)