Shape is often used in Android to define some of the display properties of a control, and today we see some shape's use, with a general understanding of shape and a little summary:Let's look at the following code:Android:startcolor= "#ff8c00"Android:
WebKit kernel browser, e.g. (Chrome,safari, etc.)Background:-webkit-gradient (linear,0 0,0 100%,from (#000000), to (#ffffff));The first parameter represents the gradient type (type), which can be either linear (linear gradient) or radial (radial
Background Knowledge linear gradient linear-gradientCaseBackground:linear-gradient (#fb3, #58a);If you pull these two color markers closer together, set to Background:linear-gradient (#fb3 20%, #58a 80%), then the true gradient will only appear in
Border-radius rounded CornersParameter can be a pixel or a percentageWhen a parameter is scoped to Four CornersWhen two parameters are scoped to upper left, lower right, lower rightWhen three parameters are scoped to top left upper right upper left
Today to share an article about CSS3 Basic tutorial, mainly about CSS3 elastic box model. The main idea of resilient layout is to allow the container to have the ability to change the width and height of the project to fill the available space
first, background cutting background-clip
Syntax: Background-clip:border-box | Padding-box | Content-box;
Border-box out of the border outside of the background cut off
Padding-box out of the padding outside of the background
Fix the problem of line spacing when using sub and sup sub,sup{font-size:75%;Line-height:0;position:relative;vertical-align:Baseline;}sup{Top:-0.5em;}Sub{Bottom:-0.25em;}. P{letter-spacing:4em;/*Letter Spacing
I will give you a detailed analysis of the Illustrator software to share with you the tutorial on creating super-strong super-texture icons.Tutorial sharing:Step 1We first draw the basic shape in Illustrator and use the pen tool (P) to create the
Android Chinese source file Shape usage Summary
In Android development, we often use Shape to define various shapes. First, let's take a look at what labels under Shape mean:
Solid: FillAndroid: color specifies the fill color
Gradient:
Original works can be reprinted. During reprinting, you must mark the original source, author information, and this statement in hyperlink form. Otherwise, legal liability will be held. Http://kofi1122.blog.51cto.com/2815761/521605
I have always
Selector SelectorA number of new selectors have been added to the CSS3 to address many of the layout problems that need to be solved before using JavaScript.
element1~element2: Select each Element2 element that has the element1 element in
# CSS3 Box model* Box-sizing value Content-box default value includes all values/Border-box only the length and width of the bounding rectangle* resize (Size of the box) * value none not allowed/horizontal adjust width/Vertical
In the daily development, we will encounter some button, Textview ... The background of the control is rounded rectangle, circle ... And so on, and the Android default control background rectangle is inconsistent, this time the role of shape is
Striped backgroundhttps://github.com/FannieGirl/ifannie/Question: The striped background is ubiquitous in the design of the sleep, can we really create patterns with CSS?This chapter is relatively more complex oh! Get together.First we do a gradient
Solid: FillANDROID:COLOR Specifies the color of the fillGradient: GradientAndroid:startcolor and Android:endcolor are the starting and ending colors, respectively,Android:angle is a gradient angle and must be an integer multiple of 45.In addition,
Tilt Right 60 degreesTransform:rotate (60DEG);-ms-transform:rotate (60DEG); /* IE 9 */-webkit-transform:rotate (60DEG); /* Safari and Chrome */Rounded object, which is a positive circle when the value is half to a large objectborder-radius:25px;Four
There are too many ways to plot graphics in Silverlight, where the plot differs from the plotting in ArcGIS, where most of the plotting is static. The plotting methods mainly include path (route notation), direct plotting (line, etc.), geometric
There are many ways to make a ribbon word, here is a manual production method. Train of thought: first find some streamers material, pull out, with a ribbon or ribbon part in accordance with the text brush to do deformation treatment, and then the
The focus of the tutorial is the production of the high light part of the text. The author made a very fine, first with the brush and selection and so do a small figure, and then defined as a brush. The appropriate set of parameters and color
Effect:
Tutorial:
1, new 600*700 pixel file, background white, new layer.
2, the first to draw the shape and background of mango, with the pen tool to hook the shape of the mango, if not too sure what the shape of the
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.