facebook share HTML5 TypeError: getComputedStyle(…) is null

痴心易碎 提交于 2019-12-05 05:12:53

The display:none is what is causing the problem

You will need to hide it using opacity, height, and overflow

.fb-share-button { opacity: 0; height: 0px; overflow: hidden; }

and to show it (height can obviously be changed to whatever you like

.showfb.fb-share-button { opacity: 1.0; height: 21px; overflow: visible; }
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!