Y
Hacker News
new
|
ask
|
show
|
jobs
by
clu3
4834 days ago
Since data-title, data-content are pretty kinda popular in bootstrap in many different plugins, I thought I'd use bootstro- to avoid any accidental mistake. TBH, I'm not even sure if it's good or bad practice
1 comments
jasonquinn
4834 days ago
It should really be data-bootstro-whatever so it validates as a custom data attribute in HTML
link