Skip to main content
100%

1. Face Part I using HTML, CSS and SVG

✓ Published0🌍 Public
PPrashish Paudel
Last edited Mar 30, 2021
Created on Mar 30, 2021

This example shows a simple yellow face with two black eyes drawn on a white background. The face consists of three SVG circle elements: one large circle for the head and two smaller circles for the eyes, all rendered within an HTML page. The code uses inline SVG styling with CSS properties like `fill`, `stroke`, and `stroke-width` to define the colors and outlines. The body margin is set to zero with hidden overflow to remove page spacing, while the SVG canvas has a fixed width and height of 960 by 500 pixels.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes