Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Preserve space for loading the image

Featured Replies

We all hate when page loads and it jumps when loading images, as space for image is not reserved.

So I did some research and found nice and easy working solution that makes just that. Preserve the space for the image, no matter if static size or responsive.

Credits to:

https://aspiringwebdev.com/stop-your-web-pages-from-jumping-around-while-images-load/

<style>
.image-container {
  position: relative;
/* ratio of image height to width W:200px, H:80px*/
/* example H/W*100   -   80/200*100=40% */ 
  padding-bottom: 40%;
  height: 0;
  overflow: hidden;
}
 
.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
</style>

<div class="image-container">
  <img src="image.jpg"/>
</div>

 

Edited by toplakd

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.