css - CSS:如何仅在特定类中处理特定类?
问题描述
我正在尝试解决flex-control-nav、flex-control-paging和flex-direction-nav - 但仅限于它们位于fusion-recent-posts内时。从几个小时开始修修补补,但尚未找到解决方案,这也不会影响其他滑块。
希望这里有人可以帮助我吗?
解决方案
在常规 CSS 中,它是:
.fusion-recent-posts .flex-control-nav {
// your styles
}
.fusion-recent-posts .flex-control-paging {
// your styles
}
.fusion-recent-posts .flex-direction-nav {
// your styles
}
推荐阅读
- flutter - Dart 的广播流中的 forEach 会泄漏吗?
- javascript - 服务工作者缓存在 PWA 中转换的 AngularJs 应用程序中的所有文件的最佳方法是什么?
- python - 有没有更好的方法来获得 rgb 矩阵?
- c - 如何将 sprintf/snprintf 与双指针字符数组一起使用
- android - 如何在 Molecule / TestInfra 测试中获取所有主机的 IP/主机名?
- python - 如何在后台模式下启动python
- c - 如何使用 C 在 Linux 中以原子方式和异步方式编写文件
- javascript - 如何在继续之前等到每个循环中的异步调用完成
- python - 如何使用 python 脚本实现工作者?
- c# - Rest API C# 映射类 复杂对象的最佳方法