如何使用自定义CSS与我的Sharepoint WebPart? [英] How to use custom CSS with my Sharepoint WebPart?

查看:184
本文介绍了如何使用自定义CSS与我的Sharepoint WebPart?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

'ello!

我正在开发我的第一个WebPart for Sharepoint,现在我想知道在哪里/如何包含/存储我的CSS。我应该在哪里放我的.css文件?

I'm developing my first WebPart for Sharepoint, and now I'm wondering where/how to include/store my CSS. Where should I put my .css files? How should I include them in my webpart?

推荐答案

您应该使用可以链接或嵌入的Web部件资源。本文很好地解释了如何使用它们:

You should use Web Part Resources which can be linked or embedded. This article does a good job of explaining how to use them:

管理Web部件资源的最佳实践

这篇关于如何使用自定义CSS与我的Sharepoint WebPart?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆