---
# System prepended metadata

title: 隱藏(全站有驗證碼的頁面) BTS v2，reCAPTCHA v3 CSS片段
tags: [BTS]

---

---
tags: BTS
---
# 隱藏(全站有驗證碼的頁面) BTS v2，reCAPTCHA v3 CSS片段

```css
/*  ------------------------ reCAPTCHA v3 ------------------------  */
.grecaptcha-badge {
/*     建議用法，看過文章說不要用none會比較好 */
	visibility: hidden;
}

form.b-form__body {
	.b-submit-field {
		margin-top: 0;

		.b-btn__wrap {
			display: flex;
			flex-direction: column;
			margin-top: 0;

			button[type="submit"] {
				order: 3;
				display: block;
				min-width: 150px;
				margin: 30px auto 0;
			}

			input {
				order: 2;
			}

			div {
				order: 1;
				font-size: 14px;
				text-align: left;
				margin-top: -15px;

				br {
					display: none;
				}

				p {
					margin: 0;

					a {
						color: $primary;
						font-weight: 700;

						&:hover,
						&:focus,
						&:active,
						&:active:focus {
/* 							color: inherit; */
							text-decoration: underline $primary 1px;
							text-underline-offset: 1px;
						}
					}
				}
			}
		}
	}
}

.b-login-page {
	form.b-form__body .b-submit-field .b-btn__wrap div {
		margin-top: 4px;
	}
}
```