Location>code7788 >text

Markdown's html elegant use of syntax (2024/10/10guixiang original)

Popularity:441 ℃/2024-10-10 20:30:41
font tag 3 ```mysql
font tag 3
```

second paradigm

Heisenberg first proposed in 1927 that
```mysql
Heisenberg first proposed in 1927 that
```

third paradigm

zoomorphic mask motif, found on Shang and Zhou ritual bronzestāo tiè It is a mysterious monster in ancient Chinese mythology, aliasbarn owl (Tycapensis)páo xiāoThe ancient book "Shan Hai Jing - Bei Ji Er Jing" describes its characteristics as follows: its shape is like a goat body with a human face, eyes in the armpits, tiger teeth and human hands.
```mysql
zoomorphic mask motif, found on Shang and Zhou ritual bronzestāo tiè It is a mysterious monster in ancient Chinese mythology, aliasbarn owl (Tycapensis)páo xiāoThe ancient book "Shan Hai Jing - Bei Ji Er Jing" describes its characteristics as follows: its shape is like a goat body with a human face, eyes in the armpits, tiger teeth and human hands.
```

(math.) the fourth paradigm

Here's a border optimized with inline styles where the text has been centered and turned red
<div style="
  border: 1px solid #333;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0, 0.2);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0, 0.2); color: red; /* Set text color to red */.
  color: red; /* Set text color to red */
  text-align: center; /* center horizontally */
  display: flex; /* Use flex layout to achieve vertical centering */
  justify-content: center; /* center horizontally (same effect as text-align: center in a flex container, but can be left in for consistency) */
  align-items: center; /* Center vertically */
  height: 100px; /* Set the height of the div to see the vertical centering effect */
  line-height: initial; /* reset this line-height if vertical centering with line-height is not needed */
">
  Here's a border optimized with inline styles, with the text centered and turned red
</div>
/*
text-align: center; is enough to center the text horizontally. display: flex;, justify-content: center; and align-items: center; are for vertical centering. At the same time, I set a height value to ensure that the div has enough height to display the vertical centering effect.

If you don't want to use a flex layout and the height of the div is fixed or predictable, you can also achieve vertical centering by setting the line-height equal to the height of the div (this method works for single line text). Note, however, that in the code above I've reset the line-height to initial because we're using a flex layout.

If you want to keep the div's height adaptive to the content and only want a single line of text to be vertically centered, then you can either use line-height in conjunction with height (which doesn't work when the height is determined by the content), or you can simply use a flex layout, as shown above.
*/
Here's a border optimized with inline styles, with the text centered and turned red
<div style="
  border: 1px solid #333;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0, 0.2);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0, 0.2); color: red; /* Set text color to red */.
  color: red; /* Set text color to red */
  text-align: center; /* center text horizontally */
">
  Here's a border optimized with inline styles, with the text centered and turned red
</div>

multiline example

Principle 1: The basic unit of locking is the next-key lock. hopefully you remember that the next-key lock is a forward-open-backward-close interval.
Principle 2: Only objects accessed during a lookup are locked.
Optimization 1: Equivalent query on indexes, next-key lock degrades to row lock when locking a unique index.
Optimization 2: Equivalent query on index, when traversing to the right and the last value does not satisfy the equal condition, next-key lock degrades to gap lock.
A bug: a range query on a unique index accesses until the first value that does not satisfy the condition.
<div style="
  border: 1px solid #333;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0, 0.2);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0, 0.2); color: red; /* Set text color to red */.
  color: red; /* set text color to red */
  text-align: left; /* center horizontally */
" >
Principle 1: The basic unit of locking is the next-key lock. hopefully you remember that the next-key lock is the front-open-back-close interval. </br>
Principle 2: Only objects accessed during a lookup are locked. </br>
Optimization 1: Equivalent lookups on indexes, when locking a unique index, the next-key lock degenerates to a row lock. </br>
Optimization 2: Equivalent query on index, when traversing to the right and the last value does not satisfy the equal condition, next-key lock degrades to gap lock. </br>
A bug: a range query on a unique index accesses the first value that does not satisfy the condition. </br>
</div>