Today is the third day, to learn the front-end used to consolidate two days before the front end of the knowledge, the teacher in class today for routine check on us, of course I have also been DS cough up, I was called up, of course, the result is a bit miserably, Tony for English the forehead, I finally got 20 times the word copy, then there’s the tutorial today.
CSS selectors
1. Descendant selector space sel1 sel2 sel1 inside all sel2s 2. Child selector > Close bracket sel1>sel2 sel1 All sel2s in the next directory 3. The sibling selector + plus sel1 + sel2 follows the sel1 value with sel2 4. Combinatorial selectors merge all selectors, commas sel1,sel2, sel1 and sel2
Daily word
Background background button button pixel pixel border
Today’s results
1
<! DOCTYPE HTML >< HTML >< head> <title>11.29</title> <style> #p1{font-size:30px; } .p22{ font-size:40px; } p{ font-size:20px; } #id{ width: 500px; height: 400px } #div0 span{ font-size:60px; } #div0>span{ font-size:80px; } #div0+p{ font-size:40px; } #pp,#divv,#spann{ font-size:50px; } #pp{ color: blue; } .btn{ width: 100px; height: 50px } .red{ color: red; } .blue{ color: blue; } .ww { width: 80px; height: 60px; } .w1 { background: rgb(0, 0, 255); }. W2 {background: rgba(0, 0, 255, 0.6); } </style></head><body> <div class="ww w1"></div> <div class="ww w2"></div> <hr/><button class="btn </button><button class=" BTN blue"> </button>< hr/><p id=" PP "> <div id="divv"> <span The contents of the id = "span" > section 3 < / span > < hr / > < span > span test content 1 < / span > < br / > < span > span test content 2 < / span > < br / > < span > span test content 3 < / span > < br / > < hr / > <div id="div0"> <span> <span> <p><span> </span>< p><span> </span></p> </div> <p>< p> <p> <hr/ <p id="p1"> <p class="p22"> <p class="p22"> <p class="p22" Id ="id" SRC ="C:\Users\99722\Documents\1111.jpg" titlt=" This is a picture "> <div id="div2"> <img Id ="id2" SRC ="C:\Users\99722\Documents\1111.jpg" titlt=" This is a picture "> </div> </body></html>1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575 85960616263646566676869707172737475767778798081828384858687888990Copy the code
2 Ps: today comes down to say that learning is not difficult, the teacher speaks all understood, finally oneself add oil to oneself. Keep it up! Keep trying!