Today the main study of the Web navigation bar production. Note: When you introduce an external CSS style, you use the background:url (.. /images/1.png), you must remember to use . Jump out of the current folder and go back to the parent directory.First, the navigation bar implementation steps:1, the whole page is divided into the head, content, tail. The content section of the website center is alleys. The alleys is a fixed width.2, set the alleys wi
management system
Implementing a User Registration loginImplementing an Administrator accountImplement reviews for pagination, management, and analysis.
2016
Online Bookstore
It realizes the function of adding shopping cart, retrieving function, paging display function in the online book.
Practice and Internship
2014.6-2016.9
2014.9-2015.1
Personal Hobbies
Hobbies and Interests
Ba
The reason is that if NIO is supported, Jetty uses a memory-mapped file to cache static files, including. js files. Under Windows, using a memory-mapped file causes the file to be locked. The solution is not to use a memory-mapped file for caching. The steps are as follows:1. Locate Webdefault.xml in the jetty version of Jetty.jar that you are using, and its path in the jar file is org/mortbay/jetty/webapp/webdefault.xml. Copy it to the project, such as Src/main/resources/webdefault.xml. 2. Loca
) { }.view:nth-child(4):checked ~ .image img:nth-child(4) { }.view:nth-child(5):checked ~ .image img:nth-child(5) { }Just click on this to find his brother. Node image and then his corresponding number of child elements to add animationAnd then the approximate effect comes out.You think it's a success?You'll have a basic implementation when you're done, but when you play you'll find a bug that clicks on a new label and then the background becomes the last one immediately and then the new picture
This effect is an effect that someone wrote to me today, remembering the background of a label before writing a similar effect. So just came back to write about the effect of his request! By the way, share with you, if you are creative, you will be able to make more interesting effects.
He put forward the effect is nine days of Music home page A flash effect, to use CSS to imitate the same effect, may be b
, especially if you want to use a background image. It requires a combination of CSS Sprite technology (where different areas of the picture are used in different places) and sliding door technology (depending on the current size to display pictures of different lengths). Web Teaching Network
Let box level be extended
There is a simple way to make the box level extendable: Use EM to define your width. For
When the body has only one div, you can make the div fill the entire screen in such a way.1. Set the positioning for the Div. Review--There are five properties of position in CSS:Static: Default value, no positioningAbsolute: Absolute positioning, positioning relative to the parent elementRelative: Relative positioningFixed: fix positioning, relative to the browser windowInherit: Inherit location information from parent element In addition to the de
In the design of the website, a lot of effects are not used in Photoshop design! The Chinese website net thinks that can use JavaScript to realize in the webpage completely also can use CSS filter to be able to design easily!
Grammar: style= "Filter:filtername (Fparameter1, fparameter2 ...)"
(FilterName is the name of the filter, Fparameter1, Fparameter2, etc. are parameters of the filter)
Filter Description:
Alpha: Setting the transparency level
On the phone when writing a triangle, I generally use pseudo-class, just the beginning of the use of the picture, but in the current cell phone HD screen, the picture is easy to distort, or use pseudo-class bar!The first kind: a 90-degree ">" with only lines. (You can do the arrow of a drop-down box, etc.) for example:. next:after{Content: "";width:6px;height:6px;border-left:1px solid #666;border-bottom:1px solid #666;Transform:rotate (225DEG);-webkit-transform:rotate (225DEG);Position:absolute;
Attrib.cssName{Display:block;Color:blue;font-size:20pt;Font-weight:bold;}Id,company,email,tel,site{Display:block;Color:black;font-size:14pt;Font-weight:normalFont-style:italic;}Xml_css.xmlUse CSS to make XML files appear in HTML style
If CSS filters are flexibly applied and combined, we can achieve many unexpected results. This is an example of the effect for your reference.Effect 1:The shadow filter is used for this effect. The code is as follows:Filter: shadow (color = black, direction = 135)Result 2:The code is as follows:Filter: blur (direction = 135, strength = 10)Effect 3:The code is as follows:Filter: dropshadow (color = #888888, offx = 8, offy = 8, positive = 1)Effect 4:The
() methodColumns such as: Transform:skew (10DEG,20DEG)Two. 3D ConversionRotatex () flips around the x-axisRotatey () flips forward and backward around the y-axisColumn: Transform:rotatex (120deg)CSS3 ExcessiveExcessive is the effect of an element gradually changing from one style to another (animated)Property: TransitionGcadiv{width:100px;height:100px;transition:width 2s linear 5s;}div:hover{width:300px;}(Hover over Div, div to width 300, animation for 2 seconds, animation speed average, 5 seco
. Z-index: Sets the upper and lower layers of the element displayWhen you move the mouse over the lower picture, you need to move the underlying picture to the top, and the Z-index property controls the hierarchical relationship it displays. The Z-index value of the photo you want to show in the top level is set larger than the other photos. img{ z-index:1; } img:hover{ z-index:2; }Set the level of the normal picture is 1; When the mouse is over, the level is
If it's a background map,Define a div, height 100%, width 100%, put an img inside Html,body{overflow:hidden;}. Bg{width:100%;height:100%;top:0;z-index:-1; position:absolute;}. BG img{display:block;outline:none;border:0;height:100%;width:100%;}With CSS, how to make the picture automatically adapt to the screen size, no scroll bar, no distortion, compatible with each browser? Urgent!!!
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.