Overflow of CSS

Guide: Overflow attributes are generally used to hide elements beyond the div range, including four attributes: visible, hidden, scroll, and aotu. Of course, the usage of overflow.It’s not that simple to understand. We need to use overflow in many Web pages. This article introduces the four common attribute values of overflow and their use. According to the box model of CSS, every element in the page is a rectangular box. The size, location and behavior of these boxes can be controlled by CSS. For behavior, I mean when it changes inside and outside the box, how does it deal with it? For...

Custom guide for blogging idiocy blog Garden

THE SHORT STORY You can have the following pages in two steps. (cats can blink.) Step one: manage your blog backstage and set the blog skin to darkgreentrip. Step 2: Paste the following code into “Page Custom CSS Code” and “Header Html Code” respectively.Don’t pick it up“Disable template default CSS) /*-----------------------------Page customization CSS codeBody{Background: transparent;}#main{BACKground-color: RGB (236, 239, 241);}#blogTitle {Height: 270px;Background-color: blaCK;Color:white;}#blogTitle h1{Text-align: center;Margin-left: 0;Font-siZe: 2.5em;...

JS case four: interlacing and highlighting of tables

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script> window.onload = function() { var oldColor; var tblEle = document.getElementById("tbl"); var len = tblEle.tBodies[0].rows.length; for(var i = 0;i<len;i++) { if(i%2==0) { tblEle.tBodies[0].rows[i].style.backgroundColor = "pink"; //Adding mouse passesTblEle.tBodies[0].rows[i].onmouseover = function () {Old...

Linux install kibana

Download kibana wget https://artifacts.elastic.co/downloads/kibana/kibana-6.3.2-linux-x86_64.tar.gz tar -zxvf kibana-6.3.2-linux-x86_64.tar.gz Modify configuration file vim config/kibana.yml # Release the annotation and change the default configuration to the following:Server.port:5601 server.host: "0.0.0.0" elasticsearch.url: "http://192.168.202.128:9200" kibana.index: ".kibana" start-up bin/kibana Effect  

[common reading Primer] 40.<6.1> function foundation Page182

Function, simply speaking, is a code block with a name. In the first reading, we introduced main, which is a function. Little is known about the basic components of functions: Return value type, function name, function parameter list, function body When we call a function, we call it by calling the operator (). // valfactorial int fact(int val) { int ret = 1; // Local variables are used to save computation results. while(val > 1) ret *= val--; // Assign the product of RET and val to RET, then Val minus 1. return ret; // Return to the result } int mai...

Bubble, fast row

Bubble sort if(!is_array($arr)) return false; $len = count($arr); if($len <= 1) return $arr; for($k = 0; $k < $len; $k++){ for($j = $len-1; $j > $k; $j--){ if($arr[$j] < $arr[$j-1]){ $temp = $arr[$j]; $arr[$j] = $arr[$j-1]; $arr[$j-1] = $temp; } // var_dump($arr); } }   Fast sorting /** * @param Fast sorting*/ function quick_sort($arr) { if(!is_array($arr)) return false; $length = count($arr); i...