Customize the background color of selected text

Source: Internet
Author: User

<! Doctype HTML>
<HTML>
<Head>
<Meta charset = "UTF-8">
<Title> Custom background color of selected text </title>
<Style type = "text/CSS" Media = "all">
Body {Line-Height: 2em ;}
: Selection {
Color: # ffffff;
Background-color: # e84893;
}
:-Moz-selection {
Color: # ffffff;
Background-color: # e84893;
}
</Style>
</Head>


how to understand responsive design (RWD)


1. how to Understand responsive design (RWD)


learn more. First, let's take a look at the response and then talk about the design, the response is what kind of response can be obtained from a request. For example, if I say "hello", you will easily reply "hello" to me because everyone is Chinese, if I say "hello", if my generation has been in junior high school, he will also say "hello" to me, but if I say "bonjour" to you ", only high-end talents may know about it. Here, for example, my response object is equivalent to the responsive device we want to talk about. He must be able to parse the requirements I sent to him. Then let's talk about the design plan. The official explanation of the design is as follows:

1. Set up a strategy.

2. Prepare drawings and plans for a specific task as required.

3. Persons engaged in design work.

to put it bluntly, the design is to set up a plan to fulfill the work objectives we need.

from the response we mentioned earlier, we can see that the response is a process of interaction between the two parties, in this process, we need to consider the affordability of both parties. For example, we cannot let children carry big bags. In terms of webpage design, we need to consider the performance of devices, such as the network speed, the number of DOM nodes, and the size of the screen. If we combine the front and back ends, we will give candy to the children and give us a great deal of effort, in this way, the response is achieved.

however, the response type I will talk about below is narrow. We only implement a responsive approach from the Web Builder layer.
Custom background color of selected text: CSS selection




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.