Task nine: Implement a complex page using Html/css

Source: Internet
Author: User

Mission Purpose
    • Deepen the combat capability of HTML,CSS by implementing a more complex page
    • Reuse and optimization of practice code

Task description
    • Design artwork design by HTML and CSS psd file (click to download), effect such as (click to open)
    • The entire page content is fixed, but the blue navigation and browser width of the head remain the same

Task considerations
    • Only need to complete HTML,CSS code writing, do not need to write JavaScript
    • tab only needs to implement the style, the ability of the students can try to achieve without using JavaScript, the implementation of the TAB switch
    • All drop-down menus (select) are required to be implemented according to the design style, the dropdown style is customized, the drop-down selection is not required, but the style is implemented
    • The perfect design in chrome, except for the text of the picture, font, color, layout, internal and external margins and other styles
    • Students with ability to try cross-browser compatibility
    • The ability of students can be realized after the implementation of less, sass or stylus and so on to achieve again

Task Completion and Summary:

A person to make this page, liver a bit not, simply do not cut diagram, plan directly to the approximate page written out, but write to the next day completely lose patience Zzzz, this task is tested to me. Forget, or analysis of other people's code, but their own code is to be affixed, know that the completion of the very bad, no matter how to say, after all, is a pro-son (self-written), it is not too embarrassing.

Here is a good team work to do:

http://zaiye.github.io/test1/

Now let me analyze some of the ways in which I feel that I have the skill to implement:

1, search box and the implementation of login effect

Code:

Use the position of the Padding-left value to empty, then adjust the coordinates of the x and Y axes of the background graph, and the implementation of the login effect.

2, similar to the implementation of double border

Code (parent Element):

Code (child element):

Create a double-border effect with a two-color circle overlay.

3. CSS3 Make a tab tab:

Development Step One: The parent element is set to relative positioning;

Development Step Two: Set the LI element to float;

Development Step Three: Hide input and the div that hosts the table;

Development step Four: Set the checked element with the ID tab, and the next ID with the Tab_menu element at the beginning of the click, which is the core code:

Development Step Five: Related principles and Development step four similar:

4, UL elements of the ingenious use:

The middle three chunks are set up and laid out using the nested div in the LI element in UL, which is a lot simpler than my approach. Sure enough, the brain is a good thing.

5, elements of the empty content application:

The head uses the LI element, the middle uses the floating P element to set the width height, the P element contains two sub-elements, in which the blank part just does not add the content, only blame oneself originally thought is too complex.

7, the production of Class progress bar:

or old tricks, using the overlap of parent elements with child elements. In fact, with the new HTML element Progress processing is also possible, but the background color processing some trouble, and its compatibility issues.

Task nine: Implement a complex page using Html/css

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.