data-toggle= "Collapse" is added to the link for the component you want to expand or collapse. The href or data-target attribute is added to the parent component, and its value is the ID of the child component.
The following table lists the folding (Collapse) plug-ins that are used to handle the heavy scalable class:
Class
Description
instanc
Preface
I had to answer a question about position a month ago. At that time, I had the honor to give it to me, and it was the day I went to other places.
So I started to get involved that morning. After I wrote my blog, I was in a hurry to get on the plane:
All of you are tired after the end of the weekend. Let's take a look at the interview questions in the cold winter)
At that time, I answered the question in a rough way, but I did not expect that I will discuss it again today! Yes, I still do
Including block, BFC, margin collapse, bfccollapse
The reason for writing this article is this article: Let's talk about the position discussion in the interview and interview questions. This is the first sentence in this article:
During the interview, I asked a person whose css position attribute can be wiped out by half. What is the situation ......In fact, what I was planning to solve this problem was to go all the way to normal flow, containing bl
1, may have used visibility on the times, the most commonly used is visible and hidden, used to make the element display or hide.
There is also a third rarely used value is collapse, except in the table row, the column uses the difference, he and hidden role is equivalent.
Let's take a look at the table elements, the collapse is how to work, but the premise is that table border-
The border shorthand property sets all border properties in a declaration.The following properties can be set sequentially:
Border-width
Border-style
Border-color
If you do not set one of these values, there will be no problems, such as Border:solid #ff0000; is also allowed.CSS Border-collapse PropertiesThe Border-collapse property sets whether the borders of the table are merged into
containing block; IE8 and Firefox do not occupy space because it is no longer in the document flow, so it actually covers block 2, so that block 2 disappears from view. The contents of Block 2, however, show where Block 2 is located when Block 1 is not floating. The Block 2 in IE6 and IE7 that immediately follows the floating element block 1 will also float. Such asIE8 and FirefoxIE6 and IE7Code:3. Floating "collapse"• One of the more puzzling things
This article illustrates the jquery implementation Click to view more content control paragraph text expand collapse effect. Share to everyone for your reference. as follows:
Here use jquery to achieve the text to expand the folding effect, click Text after the text will be complete display, control paragraph to display text, do not need, you can click again after the content folded up, that is, hidden part of the content. Click to see more features
Post-Check the specific situation is summarized as: Firefox+table Rowspan+border+border-collapse:collapse;
The performance is: the first line and the last line is normal, the rest of the middle line, all with the expected border different.
Let's look at the sample first:
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
After verification, two solutions are proposed.
Remove Border-collapse
Plus
(Needed 96681984)160919 2:47:35 [ERROR] mysqld:out of memory (Needed 72499200)160919 2:47:35 [note] Plugin ' FEEDBACK ' is disabled.160919 2:47:35 [ERROR] unknown/unsupported storage Engine:innodb160919 2:47:35 [ERROR] Aborting
Solve
When viewing memory information using FREE-M, the swap partition size is found to be 0. No wonder that the database server can not start, in the case of insufficient memory, and can not use the swap partition, natural collap
1: Often encountered such a problem, run the program well, but once the package signed after the operation is a crash, is not a headache, some people will say that the problem is 6.0 permissions, but if 6.0 of the following will also collapse.2: Think carefully must be confusing yes, file compression problem, look at the meaning of these several fields under the Build.gradle file of this project:3: A lot of people will see my official release version
How to remove border-collapse from the style attribute when the gridview is generated, and remove the border from the gridview
When the gridview is used in vs2005, by default, the gridview control adds border-collapse: collapse to the style attribute in the generated html code;
Copy codeThe Code is as follows:The Code on the page after the bound data is run is:
How to extend and collapse a panel using jQuery
This article mainly introduces jQuery's method of stretching and assembling panels, which can achieve smooth contraction and expansion of the div layer, it is very simple and practical to use the next, slideUp, slideDown, and other methods in jQuery. For more information, see
?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
Ht
What you're re seeing is the difference in how Firefox and chrome treat
Border-collapse
. While both browsers render the desired result correctly, their methodology for calculating it differs slightly.
Firefox reads it thusly:
The Itself hasBorder-top-width: 1px AndBorder-left-width: 1px
Each contained HasBorder-right-width: 1px AndBorder-bottom-width: 1px
Chrome reads each As having its own border all the way around.
In essence, when it s
VIM series: indentation adjustment, automatic completion, collapse, jump indent adjustment, automatic completion, collapse, jump to these vim operations are not at the beginning, I will not, familiar with the project development process, this article mainly records the commands for these operations, as well as find help, for sharing is also a memo. Shrink... news VIM use series: indentation adjustment, aut
In-depth understanding of BFC, Margin Collapse, bfcmargincollapseIn-depth understanding and application of BFC and Margin Collapse BFC
First, let's take a look at the w3c standard's explanation of BFC. In fact, we always recommend that you first look for official definitions for the learning of this concept, because in principle, what is official is the most authoritative and correct, it is also detailed. D
Change someone's front-end code today, obviously all the collapse is written according to the official website, but execution is an error:$ ("#abc"). On (' Show.bs.collapse ', function () {});Not even working,and execute $ ("#abc"). Collapse ("show");Unexpectedly error: $ (...). Collapse is not a function>> Solutions: The order of Caused by!!!# # Finally, after
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.