<h2> div "group" 真的可以改吗?
Is it actually possible to change <h2> div "group"?
问题是我已经有了图片说明,但是当我从 tumblr 的移动应用程序 post 时出现了另一个说明。我怎样才能 "teleport" <h2>
到 .innertitle
?
/* begin snippet: js hide: false console: true babel: false */
css:
.innertitle {
position: absolute;
top: 0;
height: 15%;
font-size: 1.5vw;
font-family: sans-serif;
}
.contentbox {
width: 40%;
background: #ccc;
position: relative;
height: auto;
}
.img-around img {
margin-top: 50px;
width: 100%;
}
html:
<div {block:Tags}id="{Tag}"{/block:Tags} class="contentbox">
<div class="innertitle">
{block:Caption}{Caption}{/block:Caption}
</div>
<div class="innerbox">
<div class="img-around">
<img src="https://66.media.tumblr.com/1efb53fff593aeb137b3c9b7b018a708/tumblr_pgggijEb4G1x36lvho1_1280.png">
<h2>This is appearing automatically.</h2>
</div>
</div>
</div>
对不起post,那是很久以前的事了,我的英语很差。
对于未来,谁对如何解决这个问题感兴趣,我所做的是 posted post 来自 Tumblr 的移动应用程序和网站的各种内容。然后我打开 DevTools 并查看 posts posted 从移动应用程序和网站有何不同。
问题是 Tumblr 出于某种原因将 posts 的 p、h1、h2 标签放置在与移动应用程序不同的地方。所以我只需要对它们进行样式设置。
再次抱歉 post.
问题是我已经有了图片说明,但是当我从 tumblr 的移动应用程序 post 时出现了另一个说明。我怎样才能 "teleport" <h2>
到 .innertitle
?
/* begin snippet: js hide: false console: true babel: false */
css:
.innertitle {
position: absolute;
top: 0;
height: 15%;
font-size: 1.5vw;
font-family: sans-serif;
}
.contentbox {
width: 40%;
background: #ccc;
position: relative;
height: auto;
}
.img-around img {
margin-top: 50px;
width: 100%;
}
html:
<div {block:Tags}id="{Tag}"{/block:Tags} class="contentbox">
<div class="innertitle">
{block:Caption}{Caption}{/block:Caption}
</div>
<div class="innerbox">
<div class="img-around">
<img src="https://66.media.tumblr.com/1efb53fff593aeb137b3c9b7b018a708/tumblr_pgggijEb4G1x36lvho1_1280.png">
<h2>This is appearing automatically.</h2>
</div>
</div>
</div>
对不起post,那是很久以前的事了,我的英语很差。
对于未来,谁对如何解决这个问题感兴趣,我所做的是 posted post 来自 Tumblr 的移动应用程序和网站的各种内容。然后我打开 DevTools 并查看 posts posted 从移动应用程序和网站有何不同。 问题是 Tumblr 出于某种原因将 posts 的 p、h1、h2 标签放置在与移动应用程序不同的地方。所以我只需要对它们进行样式设置。 再次抱歉 post.