Bootstrap text-hide style
Translation results:
text
English[tekst] American[tɛkst]
n. Text, original text; text, textbook; theme; version
v .Send a text message
##hide
英[haɪd] 美[haɪd] vt.Hide; avoid, hide, hide; cover, covervi. Conceal; Cover; Cover; Covern. Animal skin; <mouth> life; <mouth> human skin; hiding place (for watching wild animals)Bootstrap text-hide stylesyntax
Function: Replace the text content contained in the page elements with the background image
Bootstrap text-hide styleexample
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</title> <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <h2>实例</h2> <p> .text-hide 类将页面元素所包含的文本内容替换为背景图:</p> <div class="text-hide">在 div 元素中插入一些文本。</div> </div> </body> </html>
Click the "Run instance" button to view the online instance