Skip to main content
Public

Share visualization

Loading preview…

test css

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

test css

0
Ssirenajbpearl@gmail.com
Last edited Aug 12, 2024
Created on Aug 5, 2024

This example demonstrates responsive scaling of an inline SVG graphic and an embedded iframe using CSS media queries. The SVG text element, styled with the Roboto font, is paired with an absolute-positioned iframe that sits behind it. Through breakpoints at various viewport widths, the code adjusts the SVG’s width and padding, along with the iframe’s dimensions, to maintain a consistent layout. It uses plain HTML, CSS, and inline SVG, with no external JavaScript libraries or data sources.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed