Pure CSS implementation of a very cool cartoon portrait, art and programming combined with the model

Source: Internet
Author: User

Product Design Technology Trends

A major technological trend in current product design and development in addition to responsiveness,

and try to use CSS/HTML5 technology instead of pictures, which gives you good design extensibility and page access performance.

CSS Cartoon Instance

Here is a British web engineer design and development of a very cool cartoon avatar, using a pure CSS implementation, but also simple to switch skin tone:)


Demo page access link, Simpson family Avatar

Note: The Simpsons (Simpson family) is a fictional family in the American animated sitcom "The Simpsons".

The technology used

Similar to the techniques used by artist sketches, the face of each character is first disassembled into different shapes, and then gradually pieced together into portraits. Here is the Simpsons character model after disassembly:


According to the above model, construct the CSS div blocks of hair, head, eyes, nose, ears, mouth, chin, neck, and then use absolute position to put together,

Bart's "head" demo CSS code is as follows:

Position:absolute;top:20px;left:33px;width:9px;height:7px;background: #fbd800; border-top:1px solid #110b00; border-left:1px solid #110b00;-webkit-transform:rotate (25deg) skew (23deg, 16deg),-ms-transform:rotate (25deg) Skew ( 23deg, 16deg), Transform:rotate (25deg) skew (23deg, 16deg),-webkit-border-radius:2px 0 0 0;-moz-border-radius:2px 0 0 0;b order-radius:2px 0 0 0;

For more CSS code, please visit the Demo code page.


by Iefreer

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.