- Bootstrap 4 Cookbook
- Ajdin Imsirovic
- 142字
- 2021-07-02 21:08:02
Explanation of the data-* HTML5 attributes
To make things more interesting, each div has a tooltip component so as to provide clues to what is happening with containers, when viewing the page in a browser.
The tooltip components are activated through the self-explanatory jQuery calls in step 4 of the recipe.
To make the tooltip components work, their specific options are set in HTML5 data-* attributes. The data-toggle attribute specifies that the component we are using is indeed a tooltip. The data-placement attribute can be set to the following four directions: top, right, bottom, or left. Setting the data-html attribute to "true" allows us to insert HTML inside our tooltip. As can be seen in the browser, this creates a pretty good effect.
The tooltip function in the custom script can be passed several parameters, as explained in the Bootstrap docs.
- Embedded Linux Projects Using Yocto Project Cookbook
- WildFly:New Features
- Modular Programming with Python
- Delphi程序設計基礎:教程、實驗、習題
- Developing Mobile Web ArcGIS Applications
- Java高手真經(高級編程卷):Java Web高級開發技術
- Java從入門到精通(第5版)
- Eclipse Plug-in Development:Beginner's Guide(Second Edition)
- SQL Server 2016數據庫應用與開發習題解答與上機指導
- 從0到1:Python數據分析
- Python忍者秘籍
- Learning Concurrent Programming in Scala
- Machine Learning in Java
- Java程序設計案例教程
- Building Wireless Sensor Networks Using Arduino