gpt4 book ai didi

html - 将内部样式转换/重定向到外部样式

转载 作者:行者123 更新时间:2023-11-27 23:16:12 25 4
gpt4 key购买 nike

我有一些使用内部样式 css/html 的脚本因为它与一些已经存在的代码相匹配并使脚本出现问题。

如何为这个内部样式代码创建外部样式:

<style>
[class="skiptranslate"]
{display: none;}

body>div{margin: 1em;}

#google_translate_element{overflow: hidden; height: 1.7em; display: inline-block; margin-bottom: -.65em;}

#align{display: none;}

.goog-te-banner-frame{display: none;}

a.btn, a.btn:visited{-webkit-appearance: button; text-decoration: none; font-weight: bold; background-color: #357ae8; color: white; padding: .5em; margin: .5em; cursor: pointer;}

#select_lang, #done{display: none;}

h1, h2{margin: 0;}

p{line-height: 1.25em; text-align: left; margin: 0 auto; margin-bottom: 1em;}

#cc{left: 0; width: 90%; opacity: 0.1; margin: 0 5%; position: absolute; top: 0; z-index: -100; transform: scaleY(0.00005); line-height: 0; transform-origin: top left;}

.wrapper{width: 70%; padding-top: 0; margin: 0 auto;}

.progress-bar{width: 100%; background-color: #e0e0e0; padding: 3px; border-radius: 3px; box-shadow: inset 0 1px 3px rgba(47, 44, 56);}

.progress-bar-fill{display: block; height: 22px; background-color: #ffffff; border-radius: 3px; transition: width 500ms ease-in-out;}

small{position: absolute; bottom: 0px; opacity: .5; margin: 0 auto; width: 100%; left: 0; line-height: 1.5em;}

@media only screen and (max-width: 640px) and (orientation: landscape){

body{font-size: 0.80em;}

}

</style>
<link rel="dns-prefetch" href="//google.com">

</head>

<body class="notranslate">

<noscript>

<meta HTTP-EQUIV="refresh" content="0;url='https://titles.com/?PageSpeed=noscript'" />

<style>

<!--table,div,span,font,p{display:none} -->

</style>

<div style="display:block">Please click <a href="https://titles.com/?PageSpeed=noscript">here</a> if you are not redirected within a few seconds.</div>

</noscript>

最佳答案

我认为你必须将它复制到你的外部样式表中并在样式上做一点改变

关于html - 将内部样式转换/重定向到外部样式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58257180/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com