search
HomeWeb Front-endCSS TutorialTalking about website reconstruction from Douban website design_CSS/HTML

douban.com very cleverly applies div+css, and through the use of colors, minimizing pictures, etc., it not only makes the website page fresh and pleasant, but also compresses the size of the webpage to the maximum extent, thus making Access efficiency is maximized.

When I read douban.com for the first time, I felt like I was reading a "reading" magazine in my hand. It was very elegant and seemed to have a bit of a bookish flavor. We are all used to being raped by Chinese-style websites, thinking that websites are just like this and can only be like this. Undoubtedly, many people will be touched by the simplicity of his website when they see douban.com for the first time, and their eyes will light up! Why? It will be like this, so I have some ideas. Let’s take a look at douban.com’s website design and see how he does it:

1. Using div+css page technology. Since the translation of the book "Website Reconstruction", this layout method has begun to be deeply rooted in people's hearts. There are not many benefits to say (you can visit ajie's w3cn.org to learn more), but it can be said A must for web2.0.

2. Use the color block background to highlight the entire content. The important colors are light pink, light blue, and white background, which is very refreshing.

3. The core of douban.com is books, music, movies and users (groups), all using thumbnails, and the thumbnails of users (groups) are smaller. The pictures on the Internet of the first three are generally better-looking and must be larger. The latter can be uploaded and designed into smaller pictures, which can make the pictures look better.

4. In addition to the above, douban is extremely stingy with pictures, almost none. Users are not allowed to post pictures even when posting comments or posts. The benefits of this are very obvious. It allows users to focus on the text, while the pictures are related to the core of the website and will not produce irrelevant things. In addition, the website access speed is very fast.

5. No matter what page, the same layout is used. The layout adopts a top-middle-bottom approach. The top is the navigation; the middle is a 2-column format, with the core content of the page on the left, auxiliary and related functions and information on the right; and the site navigation below. All navigation also does not have a picture.

6. Douban is also ingenious in using style sheets. Link selections are highlighted in dark blue, clicks are highlighted in orange, deletions are highlighted in dark red, and books/music/movies are highlighted in dark red. Function descriptions and The site bookmark icon is green, the recommended stars are red, and the rest is eternal black. The entire color palette revolves around blue and red shades as well as green. This fits well with Douban’s logo and is very coordinated.

7. Buttons are rarely used, but I decided that since there are so few buttons, it is better not to use them all, this is better!

8. The page length of Douban is very short, usually 2 pages and no more than 3 pages. I have always believed that pages that are too long will make users impatient, and 2-3 pages is the best choice. The reason why there is this long page is just because the portal website wants to have more advertising positions. Not every website needs this.

9. Advertising, Douban is different from other websites in that it does not provide fancy advertising spaces. Currently it only has Google text ads and text ads for "Reading" and "Readers". I think it will only provide text link ads in the future. If Traditional pictures and flash ads are provided, and the entire site will change.

10. Do not use pop-up windows. I was not used to this at first. Later, I researched and found that this should be related to the audience of the website. Most of them are people who like reading, music, and movies, so let users follow the route as much as possible. It’s better to finish the walk, because I don’t think anyone is jumping to appreciate these things. Therefore, I think that those who are not used to not having pop-up windows may not be able to really settle down on Douban for a long time, and they are destined not to be Douban’s core users.

In general, douban.com uses div+css very skillfully, and through the use of colors, minimizing pictures, etc., it not only makes the website page fresh and pleasant, but also compresses the web page to the maximum extent. size, thereby maximizing access efficiency. Because there is almost no junk information in the page, Google search is very efficient, and the relevance of each page makes the entire site very friendly to search robots. In terms of UI layout, the entire website has a unified layout, which is very easy to use and not easy for users to get lost. I think Douban's UI philosophy may also have something to do with developers using Python. Python is a fast arrangement of functional logic through indentation. Coupled with the simplicity of Python itself, Python programs are very simple and clear. From this perspective, Douban's layout can be seen as the arrangement of Python programs, and Douban's philosophy can also be seen as Python's philosophy.

If you want to say what genre the Douban website style belongs to, I think Douban should belong to the minimalist style of Google! Of course, it cannot be said to be copying. After all, this is different from the dark and commercial style that we copied in Europe and America in the past 2 years. It’s like copying Korean flash templates with big color blocks, big pictures, and big pictures. I think Google’s simplicity has four key points: simplicity (enough functions, including page navigation), ease of use (just start with simple interactions and UI), considerate (close to user psychology), and focus (based on the business itself). On this basis, adding your own website industry characteristics, does it mean the possible trend of domestic web2.0 website reconstruction?

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Demystifying Screen Readers: Accessible Forms & Best PracticesDemystifying Screen Readers: Accessible Forms & Best PracticesMar 08, 2025 am 09:45 AM

This is the 3rd post in a small series we did on form accessibility. If you missed the second post, check out "Managing User Focus with :focus-visible". In

Create a JavaScript Contact Form With the Smart Forms FrameworkCreate a JavaScript Contact Form With the Smart Forms FrameworkMar 07, 2025 am 11:33 AM

This tutorial demonstrates creating professional-looking JavaScript forms using the Smart Forms framework (note: no longer available). While the framework itself is unavailable, the principles and techniques remain relevant for other form builders.

Adding Box Shadows to WordPress Blocks and ElementsAdding Box Shadows to WordPress Blocks and ElementsMar 09, 2025 pm 12:53 PM

The CSS box-shadow and outline properties gained theme.json support in WordPress 6.1. Let's look at a few examples of how it works in real themes, and what options we have to apply these styles to WordPress blocks and elements.

Working With GraphQL CachingWorking With GraphQL CachingMar 19, 2025 am 09:36 AM

If you’ve recently started working with GraphQL, or reviewed its pros and cons, you’ve no doubt heard things like “GraphQL doesn’t support caching” or

Making Your First Custom Svelte TransitionMaking Your First Custom Svelte TransitionMar 15, 2025 am 11:08 AM

The Svelte transition API provides a way to animate components when they enter or leave the document, including custom Svelte transitions.

Classy and Cool Custom CSS Scrollbars: A ShowcaseClassy and Cool Custom CSS Scrollbars: A ShowcaseMar 10, 2025 am 11:37 AM

In this article we will be diving into the world of scrollbars. I know, it doesn’t sound too glamorous, but trust me, a well-designed page goes hand-in-hand

Show, Don't TellShow, Don't TellMar 16, 2025 am 11:49 AM

How much time do you spend designing the content presentation for your websites? When you write a new blog post or create a new page, are you thinking about

What the Heck Are npm Commands?What the Heck Are npm Commands?Mar 15, 2025 am 11:36 AM

npm commands run various tasks for you, either as a one-off or a continuously running process for things like starting a server or compiling code.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software