ben03 Posted March 5, 2016 Share Posted March 5, 2016 Hi there, I am hoping to achieve something like on the bbc website, where all images have a grey area of the correct dimensions so the page holds its structure before the images are loaded and doesn't 'pop' into shape. I would've thought this was fairly straightforward but when working responsively you can't simply set the width and height of the frame like you used to! How would I go about this? Thanks! Link to comment Share on other sites More sharing options...
dsonesuk Posted March 5, 2016 Share Posted March 5, 2016 Set the height and width of img element itself, it will follow this until css sizing takes effect. Link to comment Share on other sites More sharing options...
ben03 Posted March 7, 2016 Author Share Posted March 7, 2016 Would this then display too large on anything smaller than desktop? Also am not sure I can do that as using a CMS (Drupal). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now