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

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

问题描述

ELLO!

我发展我的SharePoint第一的WebPart,现在我想知道在哪里/如何包含/存储我的CSS。我应该在哪里把我的.css文件?我应该如何将它们包含在我的WebPart?

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天全站免登陆