#div_1 dl{MARGIN:0PX;/*DL default has the same margin as UL */padding:0px;height:46px;margin-top:15px;}#div_1 DL dd{Margin:0px;/*dd Default Margin */Float:left;margin-left:10px;height:100%;line-height:46px;}Well, using HTML and CSS to develop a
Eight, simple introduction of CSS combined with JS application (for event action)
The use of CSS with JavaScript can do a lot of cool dynamic page effect, at the end of this tutorial to give you a brief introduction of CSS with JS application.
How to clearly float (i)
Known as a large div container, this container contains two sub-div containers, and then add a div after the two sub-div containers (this div means clear floating div container), the clear floating div container set CSS
I was asked in the interview: How to make an indefinite width of the text vertically center it?
Now to summarize:
Write structure in body
DJSHDK awjdsd sede sfcdf vdj sh dkaw jds dse desf CDF VD jsh DKAWJD SDS Ede SFCDFV VD jsh DKAWJD SDS Ede
One, the transformation between the block element and the inline element
About the transformation between block-level elements and inline elements we can use CSS to solve this, the attribute difference between block elements and inline elements
Writing CSS is the front-end work, a common and frequent labor, because CSS is not a language, so in the program design is somewhat humble. For small projects, the amount of CSS is not too large, the problem is not obvious, and if you want to
As the front-end to write a lot of page layout, but floating this piece has been my indefinitely blind spot, on the one hand with floating can achieve a lot of layout, on the other hand, the impact of floating will damage the layout of people
Preface: This is the author's understanding and finishing after learning. If there are errors or questions, please correct me, I will continue to update!
Selector weights
If the selector weight is represented by a 4-digit number, then:
The
This paper mainly introduces the method steps of CSS3 making hover underline animation. Has a good reference value. Let's take a look at the little series.
1, a few days ago see Hexo Next topic title Hover effect is very dazzle, oneself try to
Highly adaptive problem, I am very inconsistent with JS to solve, because not good maintenance, also not enough natural, but pure with CSS, difficult, such as the following I would like to say examples.
Demand:
1. The height of this rectangle is
This is a circular button made using the CSS3. The effect looks very simple, in fact, the production is very simple, mainly the use of radial gradient, as well as the @font-face to achieve the icon effect, of course, it also leaves no other
First, describe the difference between ID and class:
1, ID is a label, used to distinguish between different structure and content; ID is to find the structure/content, and then define the style; class is a style that can be set on any structure
The complaints about IE, especially IE6, have been paralyzed, and occasionally even a very negative idea: the world has only one browser, even if the only browser is IE6. Of course, such an idea is very morbid, immediately dismissed. In this article,
Flexbox usually allows us to better manipulate the layout of his child elements, for example:
If the element container does not have enough space, we can set them on the same line without having to calculate the width of each element;
Can quickly
A bubble box (or balloon) is a common element in a Web page that is mostly used to show a hint, as shown in:
Split to see, shaped like this bubble box is a rectangular box + a direction of the triangular small arrow, to make such a bubble box, if
WebMatrix makes it easy for you to create sites. You can start with an open source application (such as WordPress, Joomla, DotNetNuke, or Orchard), and WebMatrix will handle the tasks of downloading, installing, and configuring these applications
CSS style-Vertical Horizontal center of font and element, css peak
1. Differences between CSS styles and tag attributes in HTML:
Tag attributes are represented by attribute name = "property value ".
CSS styles are represented by name-value pairs,
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