CSS is really powerful

http://wf.fsoft.com/wf.html

I was playing with CSS tonight and came up with the WeatherFlow icon. It’s close but far from perfect

5 Likes

Hello Gary!

If you want it in SVG format, just ask. I had to redo it for Weather Station :wink:

PS: ice on the cake, it is light enough to be “embedded” in the source of a base 64 image tag …

The idea is to create display graphics with no images. It’s remarkable what can be done with HTML and CSS. The display I created for WFArchive is 100% pure HTML and CSS. No need for any type of image which makes the code very light.

1 Like

It’s why I suggest base 64 embedded… That’s the deal. :slight_smile: Just pure HTML… No external resources, no css (hum, just inline css to set the width).

1 Like

2 Likes

And of course, perfect definition at every size :wink:

The only thing more powerful than CSS is…lawyers protecting a corporation’s trademarks/logos against unauthorized use.

Even though WF does not have the usual lawyer-speak section on their web site about corporate trademarks and authorized logo use, I would recommend that you have express written permission from their lawyers before using their logo in even a free/open-source package or web page.

I could bore you with a sad story about a charity event who had to re-print hundreds of t-shirts because a large corporation didn’t authorize the use of their logo…

1 Like

Yes, but that’s not pure html. You are loading the image data into a variable. You can do the same with gif, jpeg, png, tiff and every other format.

It’s why I’m using css… That’s the deal. :slight_smile: Just pure HTML… No external resources, no embedded images (hum, just styled css to set the size).

You’re way off topic. :slight_smile:

No need to bring gloom and doom.

I could tell you the story about the State of Wyoming that stole a photographer’s photo to use in their license plate.

You’re definitely right. Like css is not html…
And I don’t consider svg as image… Nevertheless, I know it’s a questionable point of view. :smile:

Okay, we will call them graphics. However, the web considers them an image. And I’m pretty sure you use the image tag to embed them in the code.

Screenshot_20181028-131620_Chrome

And, here is the page source and as you can see, it is clearly using the IMG tag and a base64 image data stream.

<img src=“data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgZmlsbD0ibm9uZSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgIHZpZXdCb3g9IjAgMCA5MDAgOTAwIj48ZyB0cmFuc2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