1. It may have been usedvisibilityThousands of times, the most commonvisibleAndhiddenUsed to display or hide elements.
The third rarely used value iscollapseIn addition to the differences in table rows and columnshiddenIs equivalent.
Next let's take
Today, we found that before and after are used in many foreign websites and framework designs, which were rarely used before. I tried them today and found it interesting ~ Description 1.: before AND: after will insert additional elements before and
1. Child element selector>: parent element> child element
2. Adjacent compatriot selector +: element 1 + element 2
Element 2 must be followed by element 1
3. sibling selector ~ : Element 1 ~ Element 2
Element 2 is at the same level as element 1 and
In css, word-break can solve this problem. Write a test page to take notes. css code: body {font-size: 14px;} p {border: solid 1px red; width: 200px ;} English Chinese English Englis333hEnglishEnglishEnglish Chinese chinese characters 123 ewewee 12
CSS positioning and floating
CSS provides some attributes for positioning and floating. With these attributes, you can create a columnar layout that overlaps one part of the layout with the other, you can also complete tasks that require multiple
When talking about media elements in HTML5, let's talk about it. We just introduced the usage and introduction of media elements, but we haven't introduced the relevant attributes of media elements yet, so today we will introduce some attributes
In web development, typographical layout and layout are very important. Therefore, we need to harden the basic things, so don't panic. Take the Code directly and you can run it directly.
1. Title
2. Paragraph
3. HTML Heading is defined by tags
Easily recordDisplay: inline becomes horizontal layoutYou can also use float: leftUse the margin between the li {padding-right: 10px} elements.CSS:
# Children-list, # works {
Padding: 15px 0px;
}
# Children-list li, # works li {
The preceding section describes how to use Jsoup to parse html. Jsoup is also powerful and convenient. However, when you only need to use a third-party package to parse a small amount of html content, you can use a regular expression to find the
Advantage 1: reduces http requests on webpages, greatly improving page properties; 2. Reduces image words; 3. Solves image naming problems, you only need to name the image of a set. You do not need to name every small element, which improves the
In a single-column layout with fixed width, the outer layer specifies the width (if no width is specified, it will be automatically stretched), and margin: 20px auto; is set to center. HTML structure: [html] fixed width of a single column
Difference between CSS margin and padding
I. Introduction
In css, there are two types of position attributes: margin and padding. The difference is that margin sets the outer margin and padding sets the inner margin.
For the css model box:
Note:
CSS learning 3
User Interface Properties
Attribute
Description
CSS
Appearance
Allows you to set elements to the appearance of standard user interface elements
3
Box-sizing
You can define the specific
CSS learning 2
Border attributes
Attribute
Description
CSS
Border-image
Set the abbreviated attributes of all border-image-* attributes.
3
Border-radius
Set the abbreviated attributes of all four
Before introducing the css selector, let's first take a look at css-stacked style sheets. As a web typographical artifact, they are constantly favored by web Front-end scholars... Why! Next let's talk about this guy .. 1. CSS features disadvantages
CSS Learning 1
Background attributes
Attribute
Description
Background
This attribute is short for setting the background attribute in a declaration.
Background-attachment
Whether the background image is fixed or
1. There is a bug in element-level masking in Some browsers;2. An element z-index is too large to be overwritten;3. js dynamic z-index calculation, resulting in Controllable element overwrite relationshipsVc + response + jujxicj4KPGJyPgrPyL +
Link to the original article: CSS Vertical TextOriginal Article Date: January 1, March 18, 2014
Translated on: February 1, March 22, 2014
Translated by: Tie
The HTML elements we create are basically regarded as horizontal frameworks. We pay
5. CSS aggregation/Combination Principle-whether to create multiple classes
CSS also contains six principles of the design pattern. Today we will talk about the principle of aggregation/combination-Multi-Purpose Combination and less
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