小编Gre*_*end的帖子

如何将figcaption放在图形的右侧?

问题很简单。关于 html 和 css。如何将 html figcaption 元素放置在 img 的右侧(居中)?

html css

4
推荐指数
2
解决办法
5405
查看次数

hr 元素不显示/使视图空白离子

如何使 hr 元素出现在离子框架中?当我做 hr 时,它什么也不显示/不可见,或者查看 get 的空白。

有离子成分可以制作 hrs (v1)?如果有,是哪一个?

提前致谢。

html css ionic-framework

2
推荐指数
3
解决办法
9936
查看次数

多个图像 CSS 之间的淡入淡出

我正在尝试使用 css 在 3 个图像之间进行淡入淡出。

我是 @keyframes 的新手,所以我很难让它工作。

下面是 html 和 css 代码片段:

索引.html:

<!DOCTYPE html>
<html>
    <head>
        <title>Test</title>
        <link rel="stylesheet" type="text/css" href="style.css">
    </head>

    <body>
        <div id="cf">
            <img class="bottom" src="assets/1.png" />
            <img class="top" src="assets/2.png" />
                <img class="bottom" src="assets/3.png">
        </div>
    </body>
</html>
Run Code Online (Sandbox Code Playgroud)

样式.css:

#cf {
    position: relative;
    height: auto;
    width: auto;
    margin: 0 auto;
}

#cf img {
    position: absolute;
    left: 0;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}

#cf img …
Run Code Online (Sandbox Code Playgroud)

html css

0
推荐指数
1
解决办法
7208
查看次数

标签 统计

css ×3

html ×3

ionic-framework ×1