Today, we have to introduce a touch screen effect, we used to browse the site details page, often see such an effect, when you click on a picture, you will be the other pictures in the window mode display, and then, you can go up and down the button
Tip: You can modify some of the code before running
horizontal drop-down CSS menu more script and CSS St
Yle:www.111cn.net Home services webdesign ">Webdesign developement" >d evelopment Illustration ">Illustration
When you look at this article, you may wonder if it was wrong? Yes, CSS code can also hang Trojan, especially now many websites support Rich text submission.The website hangs the horse the means originally very unitary, but along with the Web2.0
Static file path Setting official description1. Make sure this django.contrib.staticfiles is included in your Installed_apps.2. In your settings file, define Static_url, for example:Static_url = '/static/'3. Store your static files in a folder
A forest logo implemented with CSS and HTML
The HTML code is as follows:
www.php.cn
The CSS code is as follows:
* {margin:0; padding:0;}. Logo {height:300px; width:260px; margin:150px Auto;
CSS-only tabs implement 5 different switching corresponding content effects, csstab
A very common special effect that completes the tab with pure CSS to implement 5 different switching corresponding content Effects
Instance Preview
Instance code
Css tips (1) and css tips
1.-webkit-overflow-scrolling: touch; solves the problem of no buffering during ios sliding.
2.:-webkit-scrollbar: Set whether to display the scroll bar when ios slides.
3.: select text color and middle color
css tips (1
Locate and z-index, locate z-index
Positioning
Location used to control the element
The positioning keyword is position and position has four values: relative, absolute, static, and fixed. After the element is located, the element has four values
Format the Code with the Sublime Text 3 HTML-CSS-JS Prettify plugin, sublimetext3 formatting
Many times, we want to format HTML-CSS-JS code, there are a lot of gadgets on the site to achieve this function, of course, my site home also has. However,
BFC layout principle, bfc Layout
The original intention of writing this blog is to solve the floating problem, so I thought about what BFC is and why it can be cleared. I don't know the results, but I don't know what it means. I want to study it and
Core code The code is as follows:Copy code Background: url (images/bg.gif) no-repeat 50% 50%;Background: url (images/bg.gif) no-repeat center; Instance The code is as follows:Copy code center the upper, lower, and lower sides of the body
Method 1:Fortunately, Microsoft provides the following code:Put this code in it, and parse the page in ie8 exactly the same as ie7. Therefore, you can basically ignore ie8. The rest of the code only needs to be written in this way.Background: # ffc;/
2. Abbreviations of the same attribute:The same attribute can also be abbreviated based on its attribute value, for example: The code is as follows:Copy code . Search {Background-color: #333;Background-image: url (../images/icon.gif );Background-
Today, during the second development of the website, a problem is that the target = _ blank of all the tags on the webpage is removed and controlled by css. after thinking about a lot of methods, I found that there are three methods: first, using
Put the input and img in the same line. The img label is always a header higher than the input, which is ugly. What I found most on the website is to add an align = "absmiddle" attribute to img. This method does seem feasible but does not comply
Let's take a look at an example:Html:The code 111cn.net is as follows: Css:The code 111cn.net is as follows:Ul {Margin: 0;Padding: 10px;List-style: none;Background-color: #006699;} Ul li {Width: 100px;Height: 100px;Float: left;Margin-right:
When IE7 beta1 was launched, I tested it for the first time. At that time, I was disappointed to find that its support for CSS had almost no changes. MS recently launched IE7 beta2, which has made many new improvements and changes. However, these
Tip: you can modify some code before running Code of the pure CSS navigation bar drop-down menuHomeSingle LevelDropdownDroplineFlyoutSupportContact Tip: you can modify some code before running
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