Home> Web design tutorial
All Dreamweaver tutorial Javascript tutorial HTML tutorial CSS tutorial Experience and skills DHTML tutorial Web effects WEB standardization
Web design tutorial
  • JS input box mailbox automatic prompt function code implementation

    JS input box mailbox automatic prompt function code implementation

    In the same way, this plug-in does not require any html tags. It only needs an input box with a corresponding class name and the parent has a class name. Nothing else is needed. The internal HTML code is automatically generated. The HTML code is as follow
    2025-01-21
  • Pagination application in Extjs4 combines front and backend

    Pagination application in Extjs4 combines front and backend

    Front-end part: Copy the code as follows: Ext.define('GS.system.role.store.RoleGridStore',{ extend:'Ext.data.Store', model:'GS.system.role.model.R
    2025-01-20
  • HTML Optimization Miscellaneous Notes

    HTML Optimization Miscellaneous Notes

    The most basic part of web page optimization should be HTML optimization. Specifically, the first is markup cleaning. Cleaning markup can not only reduce the size of the document, but also make the document easier to maintain and improve the visibility of
    2025-01-20
  • Concise and clear DIV CSS web page layout development reference specification

    Concise and clear DIV CSS web page layout development reference specification

    CSS web page layout can also be regarded as a systematic work. The development of DIVCSS website may be completed by multiple people in collaboration and by a team. This involves many normative operation issues. Even if it is developed by one person, a ce
    2025-01-20
  • Detailed explanation of three ways to achieve the function of smoothly scrolling the page to the top

    Detailed explanation of three ways to achieve the function of smoothly scrolling the page to the top

    Background Recently, the development company's public account H5 has a function of clicking the icon to scroll to the top. The function is relatively simple to implement. Just call window.scrollTo(0, 0) directly and complete it in one line of code. Bu
    2025-01-20
  • Use css to achieve perspective effect

    Use css to achieve perspective effect

    Use css to achieve perspective effect. At first, I thought of our common method of adding shadow effects, which is achieved by using multiple divs through offset, but this requires many divs, which is not ideal. Then, I thought of a property of CSS: borde
    2025-01-20
  • A sense of hierarchy in page design

    A sense of hierarchy in page design

    The design needs to have a sense of layering, which may be of many types, such as the layering of colors or the layering of elements. When a design lacks a sense of hierarchy, the page will show only two possibilities, one is monotonous, and the other is
    2025-01-20
  • Quick solution to js is empty or not an object problem

    Quick solution to js is empty or not an object problem

    1. Added a parameter <script language="javascript" defer="defer">2. 'null'为空或不是对象:<script type="text/javascript"> 里面加个defer=true属性试试看,
    2025-01-20
  • CSS minification and compression: tips and tools (1)

    CSS minification and compression: tips and tools (1)

    GZIP is a really useful tool for compressing many types of code. It may not be the simplest compression method, and it may be a bit confusing for beginners.
    2025-01-20
  • Solve the problem of numbers and letters making the container larger

    Solve the problem of numbers and letters making the container larger

    Automatic line wrapping problem, line wrapping of normal characters is more reasonable, but continuous numbers and English characters often expand the container, which is quite a headache. The following is how to implement line wrapping in CSS.
    2025-01-20
  • Summary of four ways to pass parameters to event response functions

    Summary of four ways to pass parameters to event response functions

    How to pass parameters to event handler? When I first came into contact with Javascript, I often struggled with this problem because I didn't have a deep understanding of closures. We often encounter this problem in discussion groups. The code is copi
    2025-01-20
  • How to preview PDF files in HTML using the PDF.JS plug-in

    How to preview PDF files in HTML using the PDF.JS plug-in

    PDF.js is a PDF reader based on HTML5. It is compatible with most mainstream browsers and is relatively simple to use. The steps are as follows: 1. Download the PDF.js plug-in download address: http://mozilla.github.io/pdf.js/getting_started/#
    2025-01-20
  • Essential skills for designing web front-end interfaces

    Essential skills for designing web front-end interfaces

    Cooperate with artists to form sketches into specific designs that conform to WebPage. Ability to quickly create layered high-quality PSD and PNG. Can quickly conceptualize PSD and PNG content into HTML codes such as div+css or table.
    2025-01-20
  • CSS Minification: Tips and Tools

    CSS Minification: Tips and Tools

    Learning to write clean, optimized CSS takes a lot of practice and an unconscious, compulsive desire to clean. Keeping your CSS tidy isn't just about your crazy psychological need to be clean, though, especially for larger sites, it will make pages lo
    2025-01-20
  • List of new features in CSS3

    List of new features in CSS3

    CSS3 can achieve many effects that previously required the use of images and scripts in just a few lines of code. Such as rounded corners, picture borders, text shadows and box shadows, etc. CSS3 not only simplifies the design process for front-end develo
    2025-01-20