Mobile Web development has been around for more than a year, during which some confusing things have been encountered. For example: We often use in the viewport exactly what meaning, here device-width and we use JS to get to the screen width of the
:
The code is as follows:
How to ask Hi, I'm number 1th, I asked what to ask, I moe, welcome to me. Collayi I am number second Collayi, Welcome to me, I sing very nice, with headphones, I have the skills ... Cold My appearance is cold,
First, timing-function:steps ()
At first, I didn't pay much attention to this timing-function when using CSS3, just noticed the custom Bezier curve.
1) An instance of a project
Let's take a look at the difference between the left and right steps.
In the P layout, some of the text content will exceed the overflow of our limit height, some pictures will burst Div, so that the page dislocation chaos. What should I do if the content overflows the container and exceeds the width and height that
Not much to say, please look at the code, the website or Web page into black and white
# # #网页黑白代码外部样式* * Write to a. css file using *
HTML {filter:progid:DXImageTransform.Microsoft.BasicImage (grayscale=1);-webkit-filter:grayscale (100%);} 123
# # #
Prerequisites
Before we introduce the layout, we first introduce a unit of dimension, which is the new one in CSS3, which is REM, and all the font sizes that reference the REM definition are relative to the size of the root element text, which
Compatible multi-browser to each browser to write the corresponding CSS, too low version of the browser can only use the picture to do the background, the following is the current five major browsers to gradient support often some times need to use
Box-shadow implementation of the DOT effect
Brief introduction
Box-shadow can theoretically generate arbitrary graphic effects, and of course, the loading effect of point points can be achieved.
Implementation principle
HTML code, you first need to
This article mainly introduces the use of CSS3 to make a simple progress bar (demo) of the relevant information, the need for friends can refer to the following
Here is a small demo, a progress bar written in CSS3.
:
The specific code is as
font-weight: normal; font-weight: normal; The difference between serif and Sans-serif fonts
On the computer screen, Sans-serif fonts are considered easier to read than serif fonts
CSS Font
In CSS, there are two types of font family names:
Universal
ID and Class Selector
If you want to set CSS styles in HTML elements, you need to set the "id" and "class" selectors in the element.
ID Selector
The ID selector can specify a specific style for an HTML element that is labeled with a specific ID.
The
A text style is a set of text settings that can be saved with a graphic, including font settings, special effects, and so on. Text styles are displayed differently in different software environments. Here's how to get the text vertical in HTML? A
This article mainly describes the use of HTML5 and CSS3 form verification features, the need for friends can refer to the following
Client-side validation is one of the most common features of web client programs, and we used a variety of JS
Added properties that enable multi-column layouts in CSS3
The implementation before this is cumbersome and may require a variety of positioningNow all we need is an attribute to implementMulti-column layouts are similar to our newspaper layoutsThis
Some advanced uses of CSS annotations
Quasi-modifier selector (quasi-qualified selectors)
You should avoid overly modifying selectors, for example if you can write. nav{} try not to write ul.nav{}. An overly-modified selector will affect
Examples of stopping bubbling in JavaScript and examples of javascript bubbling
qypt15
the instance demonstrates the difference between bubble and capture when different event listeners are added. click the section and I am a bubble. click
CSS learning notes 05 CSS display attributes and css learning notes
HTML tags are generally divided into block tags and intra-row tags. They are also called block elements and intra-row elements.
Block Element
Each block element occupies one or more
OBS live broadcast solution [html live broadcast] and obs Solution
The project requires a whole live video, but I don't want to leeching the display in the live broadcasting room on other platforms, so I can directly use the player to implement rtmp
Htnl and htnl naming rules
Html naming rules
I. Notes:
1. All are in lower case;
2. Try to use English;
3. Do not add hyphens or underscores;
4. Try not to be abbreviated, except words that can be understood without looking at them.
Main master.css
Blog system based on express + mongodb + pug-pug, mongodbpug
I wanted to build a blog myself a long time ago. I started to use hexo + github, but it was always troublesome to change my computer. Later, I used WordPress, but I always felt that I had
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