The following small series for everyone to bring a piece of the following small series for everyone to bring a quick solution input[type=file] Open slow, lag problem. Small series feel very good, now share to everyone, also for everyone to make a
This article mainly introduces the CSS3 UI element State pseudo-class selector, including hover, active and focus,enabled,disabledread-only and Read-write, and so on, the need for friends can refer to the following
The so-called UI selector: The
This article introduced the CSS in the various types of centering, 8 ways to implement the method explained in detail, but also with the corresponding, the need for friends can refer to the next
Today, I would mainly talk about the various
Not too good at summing up a very early things, suddenly feel all recorded, small demo is relatively simple, welcome to discuss correct.
Before the UI design draft selection box do not want the default style, the default style is too heart plug,
The popular point of CSS is to add style to the tag. What kind of thing is a style? You can understand the clothes that people wear, make-up and so on, so that their labels look a little better
So how does this CSS add to the corresponding
This article mainly introduces the use of CSS3 to write balloon style sample code, small series feel very good, now share to everyone, but also for everyone to do a reference. Let's take a look at it with a little knitting.
This article introduces
1. A list of layouts-often used in the homepage of the website.
Html:
1 2 3
Css:
body{ margin:0; padding:0; } . top{ height:80px; Background-color: #f19b6a; } . main,.foot{
In a standard flow, a block-level element automatically stretches in the horizontal direction until the bounds of the element that contains it, and in the vertical direction and the sibling elements are arranged sequentially, not side-by.
In the Web design, trapezoidal tab is a very common form, but trapezoid is a difficult to implement the style, the following small section to share the use of CSS to implement the ladder tag page code, the need for friends to refer to the next
In the web design, sometimes encounter a number of chamfer style requirements, the implementation method has many kinds, with pictures or overlap overlay, can realize the style of cutting angle, here I directly use CSS to achieve the style of
1. Only underlined text boxes:
2, the Software serial number type input box:
-----
3, the Software serial number type input box (full version):
-----
4, the input frame background transparent:
5, the mouse across the input box, the input box
FileReader interface provides an asynchronous API, using the API can be in the main thread of the browser to access the file system, read the data in the file, the following through this article to share with you HTML5 FileReader interface usage
In recent years, with the development of responsive layout, a development of multiple use, adaptive screen responsive web site needs more and more. But how do you make your website adapt to the screen? Here you need to mention a CSS3 inside the new
Center vertically with Line-height
line-height:24px;
With a fixed-width container and one row vertically centered, use Line-height (the height is consistent with the parent container), and more vertical centers can be seen here.
Clear Container
Recently, a lot of people have mentioned the question of how to choose Font on the webpage. Although the problem is small, but is the front-end development of the basic, because the current Web page, or text information-based, and font, as a form of
CSS document optimization, css document
First, understand the rendering logic of CSS. It is searched from the last bit of the tag, for example :. myclass li a. First, it will traverse all the and then see which has and which has. myclass.
Flex elastic box model, flex elastic
Flex refers to the elastic layout, which is used to provide the maximum flexibility for the box model. It specifies the items in the container as the elastic layout, similar to float: left;
The advantage of float
The horizontal center of the box with an unfixed width and the center of the width
It can be used to make the center of the paging tag. For example:
Method 1: display: table-cell;
ul{ list-style: none; display:table; margin: 40px
Kindeditor calls a single picture upload to add a preview. kindeditor Single chart
Html code:
JS Code:
K ('# image1'). click (function (){Editor. loadPlugin ('image', function (){Editor. plugin. imageDialog ({ShowRemote: false,ImageUrl: K (
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.