Use the @ font-face attribute of CSS to embed fonts in webpages

Font usage is an indispensable part of web design. A webpage is the carrier of text. We hope to use a specific font on the webpage, but this font is not a built-in font of the non-mainstream operating system, in this way, users may not see the real

Why not use CSS expression?

CSS expressions (CSS expression) is a very powerful method that allows you to dynamically set attributes on a page, but it has poor compatibility and also has a terrible weakness; You can use a function expression in Javascript in CSS expressions.

10 minor mistakes in CSS web page layout

Even a CSS Guru will inevitably write CSSCodeOr, any code is like this. Small errors often cause major problems, and waste a lot of time debugging and troubleshooting. Check the following 10 small mistakes that are easily made in the CSS web page

Overview of IE private CSS style attributes

Although not recommended, it is useful in IE only environments. Some CSS hack are missing, but they still cannot. Background-position-X (Set the horizontal background (X axis) Position) Background-position-y :(Set the vertical (Y-axis)

Several Methods for hiding extra text with CSS

Which of the following methods is usually used to offset the font? (1)Use text-indent:-9999px; However, he has a limitation that he only applies to block-level element blocks.And sometimes we want to offset the font on.So the question comes.Text-

CSS solves the problem of opacity of the PNG Image background in IE6

The translucent effect sometimes adds a lot of color to the page, especially when Vista is prevalent, the translucent effect is more respected. Among the many image formats that can be used for Web browsing, only PNG and GIF formats can achieve

Sixteen Quick Start project templates for HTML, CSS, jquery, and Wordpress

A template is a set that can be reused in many places.CodeFile, with little or no modification required. However, the boilerplates we are talking about here can usually serve as a solid foundation for your project. In addition, this is a good place

Basic Framework Structure of Common Div + CSS website layout-full version

This template is a layout template of the left and right columns. It is no longer the most basic building framework, and more block structures are also made, if this structure is met, you can use it directly (most of my websites use this structure, ^

Use pure CSS to achieve rounded border and Perfect compatibility

The implementation of the rounded corner box with pure CSS is a bad event. I have also written two summary articles.ArticleWhy is there another article like this. In our previous projects, corner boxes are often implemented using background images.

CSS box model details

The CSS box model is a professional term. But you should not be scared by it, but it is just the application of some basic CSS attributes. CSS Box Model WebpageDesignEach element in is a rectangular box.How to accurately calculate the size of the

The background color of the List is switched by pure CSS and the color changes when the mouse is crossed.

The list background color alternate effect is achieved with pure CSS, and a mouse is appended to the color. in fact, this was an effect written in. At that time, my blog was also called bluebird's sky. Now there is only a local shell, and all domain

8 CSS chart data production instances

There are many ways to present numbers. The most common method is to make a static image, but you can also consider CSS. CSS-style elements can be used to form data charts, which makes data control more flexible. Next, you will see eight CSS

15 common CSS knowledge that DIV + CSS experts can also read

1. Do not use a small image for background tile. This is why many people do not need 1px. Images with a width of 1 px and a height of 200 PX are tiled out, which requires 200*40,000 = times to occupy resources.2. No border. The recommended method is

CSS features: overlay the blank margins

The blank bilateral margin is a CSS feature that is very easy to misunderstand. It is not a CSS bug, but it will cause a lot of trouble if we misunderstand it.First look at the following demoCode: ! Doctype Html > Html >

The height caused by CSS float is 0.

Today, the IFRAME adaptive height is used in the project. It is depressing that the IFRAME adaptive height cannot be achieved through a variety of adaptive height methods on the Internet. After testing, the height of the obtained iframe src page

How to hide text in CSS

(1)Use text-indent:-9999px; However, he has a limitation that he only applies to block-level element blocks.And sometimes we want to offset the font on.So the question comes.Text-indent:-9999px; although easy to useIf a is converted into a block,

CSS text attributes

Text attributes CSS version Compatibility Inheritance Description Text-indent Css1 Ie4 +, ns4 + Yes Retrieve or set the indentation of text in an object Text-Overflow IE private attributes

CSS with the same image and text center alignment

ArticleDirectory Align text with the middle of the image Align text with top image Align text with the bottom of the image It is often necessary to align the pictures and texts in a row. Although a lot of information has taken

Detailed explanation of CSS positioning and positioning applications

Positioning has always been a difficult point in Web standard applications. If you cannot clearly identify it, the effects that should be achieved may not be achieved, and the effects may be different. If the positioning principle is clarified, the

Use coffee to write scripts, and add a little bit of CSS syntax sugar. 2. Learn less in five minutes.

Coffeescript + HTML5 + less is a new combination. It seems that less is easier to win. Try sugar first. Less so small thing, unexpectedly to overturn the wall, it is really not rational, simply unreasonable, No matter so much first, then look at

Total Pages: 901 1 .... 514 515 516 517 518 .... 901 Go to: GO

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.