<!DOCTYPE html>
<
html
lang
=
"en"
>
<
head
>
<
meta
charset
=
"UTF-8"
>
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1.0"
>
<
title
>
Tooltip Alignment - Primer CSS
</
title
>
<
link
href
=
rel
=
"stylesheet"
/>
</
head
>
<
body
>
<
div
class
=
"text-center"
>
<
h2
>GeeksforGeeks</
h2
>
<
h4
>Primer CSS - Tooltip Alignment</
h4
>
</
div
>
<
div
class
=
"d-flex flex-justify-center mt-5 flex-wrap"
>
<
button
type
=
"button"
class="tooltipped
tooltipped-nw tooltipped-align-right-1 m-2 p-2 border"
aria-label
=
"Tooltipped NW and aligned right."
>
Right Aligned Tooltip 1
</
button
>
<
button
type
=
"button"
class="tooltipped tooltipped-nw
tooltipped-align-right-2 m-2 p-2 border"
aria-label
=
"Tooltipped NW and aligned right."
>
Right Aligned Tooltip 2
</
button
>
<
button
type
=
"button"
class="tooltipped tooltipped-ne
tooltipped-align-left-1 m-2 p-2 border"
aria-label
=
"Tooltipped NW and aligned left."
>
Left Aligned Tooltip 1
</
button
>
<
button
type
=
"button"
class="tooltipped tooltipped-ne
tooltipped-align-left-2 m-2 p-2 border"
aria-label
=
"Tooltipped NW and aligned left."
>
Left Aligned Tooltip 2
</
button
>
</
div
>
</
body
>
</
html
>