css - 最大化窗口时要重新定位的文本

标签 css

这是我的问题伙计们,当我最大化窗口时,我希望状态、截止日期位于与页面相关的位置,即位于相似的位置而不是相同的位置。最大化后,我希望状态、到期数据和收件人在最大化或展开页面时始终向右移动。我是 CSS 的新手。感谢您的宝贵时间,期待您的帮助。

未最大化 BEFORE 最大化 AFTER 以上是屏幕截图,

这是我的 CSS 尝试:

#center-header-status
{
    position:relative;
    font-family:Arial;
    font-size:14;
    padding:25px;
    float:left;
    color:#5E5E5E;
    bottom:7px;
    text-align:justify;

}

#center-header-duedate
{
    position:relative;
    font-family:Arial;
    font-size:14;
    padding:25px;
    float:left;
    color:#5E5E5E;
    bottom:7px;

}

#center-header-to
{
    position:relative;
    font-family:Arial;
    font-size:14;
    padding:25px;
    float:left;
    color:#5E5E5E;
    margin-left:5px;
    bottom:7px;

}

最佳答案

关于css - 最大化窗口时要重新定位的文本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14324388/

相关文章:

jquery - 链接 anchor 位置太高

html - 尽管上部 div 有其他边框,但下部 div 边框可见

html - 如何使用 CSS 在图像上滑动 div?

html - 为 flex 居中添加顶部边距

html - 垂直对齐文本

css - 苏西 : change the number of columns according to screen size

javascript - 使内联 block 垂直对齐顶部?

javascript - 如何使我的嵌套 ListView 可折叠和可展开

html - 带有 % 的响应图像

div 底部的 css 文本/从下方剪切空白