This commit is contained in:
Boof 2022-10-21 18:28:04 +02:00 committed by GitHub
parent 13a87451cc
commit 92c7b9af17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 7 deletions

View File

@ -14,12 +14,6 @@
<img src="" class="floatRight"> <img src="" class="floatRight">
<img onclick="window.location.href='http://example.com'" class="alignnone size-full wp-image-1303" class="floatRight" src="https://www.firstbenefits.org/wp-content/uploads/2017/10/placeholder.png" alt="" width="850" height="1250" /> <img onclick="window.location.href='http://example.com'" class="alignnone size-full wp-image-1303" class="floatRight" src="https://www.firstbenefits.org/wp-content/uploads/2017/10/placeholder.png" alt="" width="850" height="1250" />
img {
position: absolute;
top: 0px;
right: 0px;
}
<p>&nbsp;</p> <p>&nbsp;</p>
<p>Games:</p> <p>Games:</p>
<p><a href="/2048">2048</a></p> <p><a href="/2048">2048</a></p>

View File

@ -1 +1,15 @@
.floatRight{float:right;margin-left:20px} .floatRight{float:right;margin-left:20px}
#content {
position: relative;
}
#content img {
position: absolute;
top: 0px;
right: 0px;
}
<div id="content">
<img src="https://www.firstbenefits.org/wp-content/uploads/2017/10/placeholder.png" class="ribbon"/>
<div>some text...</div>
</div>