CSS Basics Tutorial: CSS Graphics mix, image signature, multi-image stitching and image effects examples

Source: Internet
Author: User
This article introduces the basic CSS Tutorial: CSS Graphics and text mix, image signature, multi-image stitching and image effects examples

Learning CSS layout Positioning and floating, we can easily make a lot of typesetting and content stitching. To do a few simple examples today to show the popular p+css layout of the convenient and easy to learn the CSS layout of positioning and floating, we can simply make a lot of typesetting and content splicing. Do a few simple examples today to demonstrate the ease of use of the popular p+css layout. And by the way, CSS3 new style properties Box-shadow and property transform.

A picture-and-text mixed row

<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> 





Two-image signature

<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">    





Three multi-figure stitching

<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> 


Four image effects

Before we make this example, we will briefly introduce the new style properties of CSS3: Box-shadow (Border Shadow) and transform (rotation effect). When learning CSS, I learned a lot of the style attributes of the box model, and the combination would make a good effect.

Take a look at it in detail: Cssbo
. Shadow Properties and Csstransform genera
. () Border Shadow properties: Box-shad
To set the shadow of an element, you can actually add a shadow without a border.
. Language regulations
. box-shadow:apbpcp#xxxxx
. Box-shadow:apbpcprgb (,,,.
. APX represents a horizontal movement; Bpx represents a vertical movement; CPX represents the blur distance of the shadow; The last face is the color
. () Rotation effect properties: TRANSFO
. Sets the rotation of the element, applying a D or D transformation to the element. This property allows us to rotate, scale, move, or tilt the elements
The. Transform:rotate (angle Unit is deg) defines the D-rotation as specified in the parameters, and the angle represents the angle

<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> 



Related Article

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.