方法一:使用絕對定位
```html
<div class="link-container">
</a>
</div>
```css
.link-container {
position: relative;
.link-text {
position: absolute;
bottom: 0;
right: 0;
方法二:使用偽元素
```html
<div class="link-container">
</a>
</div>
```css
.link-container {
position: relative;
.link-text {
position: absolute;
bottom: 0;
right: 0;
方法三:使用CSS類
```css
.link-box {
position: relative;
bottom: 0;
right: 0;
.link-box a {
display: block;
text-align: center;
color: #fff;
font-size: 16px;
text-decoration: none;
padding: 10px 20px;
border: none;
border-radius: 5px;
.link-box a:hover {
background-color: #007bff;
方法四:使用標簽
```html
<div class="link-container">
</a>
</div>
```css
.link-container {
position: relative;
bottom: 0;
right: 0;
.link-text {
position: absolute;
bottom: 20px;
right: 20px;
方法五:使用JavaScript
```html
<div class="link-container">
</a>
</div>
```css
.link-container {
position: relative;
bottom: 0;
right: 0;
.link-text {
position: absolute;
bottom: 20px;
right: 20px;
.link-text {
--link-劃線-text: #fff;
--link-劃線-color: #007bff;
transform: translateY(-50%) scale(0.7);
```css
.link-box {
position: relative;
bottom: 0;
right: 0;
.link-box a {
display: block;
text-align: center;
color: #fff;
font-size: 16px;
text-decoration: none;
padding: 10px 20px;
border: none;
border-radius: 5px;
.link-box a:hover {
background-color: #007bff;