ReCaptcha API v2 Styling

前端 未结 18 1810
孤城傲影
孤城傲影 2020-11-28 02:59

I have not had much success finding how to style Google\'s new recaptcha (v2). The eventual goal is to make it responsive, but I am having difficulty applying styling for ev

18条回答
  •  一整个雨季
    2020-11-28 03:47

    What you can do is to hide the ReCaptcha Control behind a div. Then make your styling on this div. And set the css "pointer-events: none" on it, so you can click through the div (Click through a DIV to underlying elements).

    The checkbox should be in a place where the user is clicking.

提交回复
热议问题