Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
251 views
in Technique[技术] by (71.8m points)

html - 将插件集成到html和css模板中(integrating plugins into html and css templates)

I am working on a css template, which of course helps me to develop a beautiful website.

(我正在使用CSS模板,它当然可以帮助我开发一个漂亮的网站。)

I mean, good to see.

(我的意思是,很高兴看到。)

Now, I am trying to integrate code from all over the web, such as, for example, a beauatiful contact form that I absolutely want in my website.

(现在,我正在尝试集成来自整个网络的代码,例如,我绝对希望在我的网站中使用的漂亮联系表。)

The problem is that the css of the element conflicts with the css of the website and overwrites many rules.

(问题在于元素的css与网站的css冲突并覆盖了许多规则。)

How can I avoid this?

(如何避免这种情况?)

  ask by Salvy95 translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

you can add div tag surrounded in page and add a special class or id and define this class before CSS styles.

(您可以在页面中添加div标签,并添加一个特殊的类或id并在CSS样式之前定义此类。)

actually you define the special styles for certain styles

(实际上,您为某些样式定义了特殊样式)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...