Nekomusume

Invalid Date

如果我们能知道过去的一切,就能知道未来⏳......

智力值

0

金币

0

粉丝

0

Nekomusume

Invalid Date

如果我们能知道过去的一切,就能知道未来⏳......

智力值

0

金币

0

粉丝

0

  • 复制链接
  • 分享至QQ
  • 分享至QQ空间
  • 分享至微博
  • 微信扫一扫
  • 首页
  • 百科
  • 圈子
  • 商店
  • 简体中文
    交易中心
  • 圈子首页
  • 圈子百科
  • 提问
  • 帖子
  • 帮助中心
  • 关于弦圈
  • 问题反馈
  • 隐私政策
首页提问

的提问

提问

全部

内容 2|
NekomusumeNekomusume
|
6 months ago
|
提问

center h1 in the middle of screen(示例提问)

How can I center horizontally and vertically a text? I don't want to use position absolute because I try with it and my other div getting worse. Is there another way to do that ?div { height: 400px; width: 800px; background: red; }<div> <h1>This is title</h1> </div>

css
html
text-align
210
1 回答
NekomusumeNekomusume
|
a year ago
|
提问

垂直对齐CSS:before和:after的内容(示例提问)

我正努力将链接与图像居中,但似乎无法以任何方式垂直移动内容。<h4>More Information</h4> <a href="#" class="pdf">File Name</a>该图标是22 x 22px的。.pdf { font-size: 12px; } .pdf:before { padding:0 5px 0 0; content: url(../img/icon/pdf_small.png); } .pdf:after { content: " ( .pdf )"; font-size: 10px; } .pdf:hover:after { color: #000; }

css-content
css
960
2 回答
全部
前端

前端

分享

本圈子用于讨论HTML、CSS、JavaScript方面的技术,包括各种前端框架。

创建时间2024-08-21 21:05
成员2
⭕

创建者

RicciflowsRicciflows

圈主

RicciflowsRicciflows