Demonloadz
New member
Hey all I'm trying to add a border to this code I have no html experience and finding it hard
<a class="twitter-timeline" data-width="200" data-height="220" data-theme="dark" href="https://twitter.com/MythOfEmpires?ref_src=twsrc^tfw">Tweets by MythOfEmpires</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script><script>
new MutationObserver(() => {
const style = document.createElement('style');
style.textContent = "*{ background: #0F0F0F !important; }";
document.getElementById('twitter-widget-0')?.contentWindow?.document?.head?.append(style)
}).observe(document.body, { childList: true, subtree: true })
</script>
Can anyone help thanks
<a class="twitter-timeline" data-width="200" data-height="220" data-theme="dark" href="https://twitter.com/MythOfEmpires?ref_src=twsrc^tfw">Tweets by MythOfEmpires</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script><script>
new MutationObserver(() => {
const style = document.createElement('style');
style.textContent = "*{ background: #0F0F0F !important; }";
document.getElementById('twitter-widget-0')?.contentWindow?.document?.head?.append(style)
}).observe(document.body, { childList: true, subtree: true })
</script>
Can anyone help thanks