Unlimited Wordpress themes, plugins, graphics & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:18Length:2.4 hours
Xd to code with avocode 3 400x277
  • Overview
  • Transcript

4.2 Set Up a Scalable Tablet Image With a Low File Size

When exporting our images earlier, we exported our tablet as two separate images: one JPEG for compression purposes, and one PNG for transparency purposes. In this lesson, we’ll see how to use CSS to layer and position them so they look like a single image, yet retain the ability to smoothly scale as required for responsiveness.