This tutorial describes how to quickly add some dreamy decorative elements to a picture. The application of the brush is very important in the processing, when the appropriate brush parameters are set, the main fantasy elements can be brushed with a brush.
Original
Final effect
1. Open the original image, copy the background layer, execute: filter > Blur > Gaussian blur, the value is 3, and
The tutorial describes how to quickly add some dreamy decorative elements to your pictures. The application of the brush is very important in the processing, when the appropriate brush parameters are set, the main fantasy elements can be brushed with a brush.OriginalFinal effect
1. Open the original image, copy the background layer, execute: filter > Blur > Gaussian blur, the value is 3, and then add the m
before the label. If you don't
declare it, the browser uses "weird mode" to render it quirks.
2.
Used to define the beginning and end of a document, which can be understood as a Web page.
3.
As the name suggests, it is the head of a Web page that can modify the title of the page, add CSS stylesheets, and load JavaScript scripts.
4.
Used to define the title of a Web page.
The title on the page is the content.
5.
The theme of the Web page, the c
Any one of the labels in document:
1, getElementById ()
getElementById () can access a specific element in the document, as the name implies, by using an ID to get the element, so you can only access the element that has the ID set.
For example, there is a div with an ID of docid:
Then you can use getElementById ("DocId") to get this element.
, Getelementsbyname ()
This is through the name to get the element, but I do not know the attention is not, this is get
document elements on the Operation page
· Basic selector exercises
The JQuery selector is used to find elements that meet the conditions.
The basic selector is the most commonly used selector in JQuery and the simplest selector. it searches for dom elements by element id, class, and tagName.
1. $ ("# id"): id selector, document. getElementById ("id ");
1. Basic jQuery syntax
· Chained programming $ ("# div1" ).show().css ("color": "red ")
· Use a ready event as the start to process HTML documents.
$ (Document). ready (function (){
// Write your code here...
});
Abbreviation: $ (function (){
// Write your code here...
});
· The onload event starts after the dom Element Image css is loaded, and ready starts after the dom element is loaded to speed up webpage response and execute multiple ready functions!
· The jQuery object is the object after j
Import Java.util.HashSet;
Import Java.util.Scanner;
Import Java.util.Set; /** * Xiao Yi recently learned the concept of a set in math class with three characteristics: 1. Certainty 2. Sex 3. Disorder. Xiao Yi's teacher gave the little Yi such a set: S = {p/q | w *≤p≤x, Y≤Q≤Z} * You need to find out how many elements in a collection are based on a given w,x,y,z.
Small Isai Learn the collection also can not
) {//constructing a ArrayList arraylist
Output:
ArrayList with Duplicate Elements: [Java, EE, JSP, Servlets, JAVA, STRUTS, JSP]
ArrayList after removing Duplicate E Lements: [JAVA, Servlets, JSP, EE, STRUTS]
Note the output results. You'll notice that after you delete the duplicate elements, the elements shuffle again. No longer arranged in the
(string[] args) { Constructing an arraylistarraylistOutput:ArrayList with Duplicate Elements: [Java, EE, JSP, Servlets, Java, STRUTS, JSP]ArrayList after removing Duplicate Elements: [JAVA, Servlets, JSP, EE, STRUTS]Note the output results.You will find that after removing the repeated elements, the elements shuffle a
code, you can achieve compatibility to ie6+, the most important is the code is not long, very good understanding.Finally this method is also recently learned, referring to this article, very well worth reading:
Don't think about it, it's just a two-pronged alignment.
This paper mainly introduces two kinds of practical methods of pseudo-elements, and more pseudo-elements can be used to stampCS
The preceding section describes how to use the $ function to filter elements on the page and replace onload events. $ Function also has a function. When its parameter is an HTML segment, it returns a package set containing this HTML element. For example:
$ Creates a packaging element for the p element, which is the same as the selected element with the aforementioned selector. You can also call some jQuery methods, and finally use appendTo (described
Leetcode 2. Remove duplicate elements from the ordered linked list and array Remove Duplicates, leetcodeduplicates1. linked List, so that duplicate elements only appear once Remove Duplicates from Sorted List
Given a sorted linked list, delete all duplicates such that each element appear only once.
For example,Given 1-> 1-> 2
CollectionsDemo1 List Collection general elements of the sort, natural sort/*** Sort List Collection sorted by list collection using the collection's tool class collections static method Sort, * This method can be used to sort the specified list set naturally (small to large)*/ Public classSortDemo1 { Public Static voidMain (string[] args) {//1, generate a ListlistNewArraylist(); //2. Add a random 10 random
each matching element.$ ("Li"). each (function (index) {Console.log (Index + ":" "+$ (This). Text ()");}); Loop Each Li prints the index value of each Li and the corresponding content.$ (document.body). Click (function () {$ ("div"). each (function (i) {if (this.style.color! = "Blue") {This.style.color = "Blue";}else{This.style.color = "";}});}); When you click on the document to determine whether the color of each div text is not blue, if not, then it becomes blue, if it is removed.. End ()Ter
Chapter 2 text elements-Water's original learning points:
1. Text element Summary
2. Text element Parsing
Lecturer: Li Yanhui
This chapter mainly discusses text elements in HTML5. The so-called text elements are to set a piece of text to a matched structure and meaning.
I
product does not reflect the same design method used in other products of the same enterprise.
Do not use very similar but not exactly the same style. There must be enough "contrast" between styles to attract the user's attention when you need them, but do not use too wide and diverse styles.
Visual design does not have to follow the line diagram precisely-as long as it takes into account the importance of the relevant level and the combination of the
wrapper set, where the this pointer is a DOM object, so we can apply this in conjunction with native JavaScript to manipulate the element's DOM properties:
The code is as follows
Copy Code
$ ("img"). each (function (index) {
alert ("Index: + index +", ID: "+ this.id +", alt: "+ This.alt");
This.alt = "changed";
Alert ("Index: + index +", ID: "+ this.id +", alt: "+ This.alt);
});
, can not directly define the width of the high, even if the outer layer is a block element containing inline elements, also cannot directly define the width of the height./* The following statement directly defines the center of the wide height is invalid */(3) inline block elements are also called inline elementsTypical representative: Input, imgCharacteristics:"1" is displayed on one line;"
translator ):
Remember to make 3D objects visible inside and outside, you must set the bothsides attribute:
Sphere. bothsides = true;
Now you know how to create a spherical panorama with sphere. Another popular type of panorama is cube panorama. away3d has two basic 3D elements to achieve cube panorama.
The skybox and skybox6
Skybox and skybox6. The difference between them is that we need to specify 6 images for skybox, while skybox6 only needs a 3
JQuery learning notes (2) -- operate DOM elements, jquerydomUse the attr () method to control the attributes of an element
attr()The method is used to set or return the attributes of an element.Attr (attribute name)The format is to get the value of the element property name,Attr (attribute name, attribute value)The format is to set the value of the element property name.
For exampleAttr (attribute name)Obta
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.