📜  将图标对齐到 div 的右上角 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:59.045000             🧑  作者: Mango

代码示例1
#content {
    position: relative;
}
#content img {
    position: absolute;
    top: 0px;
    right: 0px;
}

some text...