-
How to set background colour in <div> in Lightning Component in Salesforce?
I am trying to set my div background colour.
For example: <div class="c-container">, here is my .css
.THIS.c-container { background: #f8f8f8; }But background is not setting as the mentioned colour.
Log In to reply.
Popular Salesforce Blogs
Page Reference in Lightning | Salesforce Lightning Tutorial
The force:navigateToComponent tag will be deprecated after Summer 18 because it is no longer in use. From now on, You may now control which Lightning…
Control Salesforce Lightning Tabs With Next & Back Buttons
Hello, In this post, we are going to create a sample lightning component to control <lightning:tab> with Next and Back buttons. In this code we…
Popular Salesforce Videos
Salesforce Public Groups and Queues
In this video, Bhavesh Jain demonstrates how to create Salesforce public groups and how they can be used, as well as provides an understanding of…
Introducing the New gRPC-based Pub Sub API | Salesforce Developer Quick Takes
Learn about the Pub Sub API, a new gRPC-based API that exposes the power of the Salesforce Event Bus. Discover the technology, its use cases,…
Control Access to the Org | Data Security | Salesforce
In this video, wonder Studies explains how to control access to your Salesforce org and the data security measures you can take to protect your…
Popular Salesforce Infographics
5 steps to follow for successful Salesforce Implementation
Although implementing Salesforce is designed to help you meet the challenges of your business, it might not provide the results you want, whether it is…
Quick Comparison Guide to CRM Systems: Acumatica VS Salesforce Sales Cloud
When you are about to choose, the best and the most appropriate CRM solution for your business, always consider these 3 given points: customization, integration,…
See How Building Apps on Salesforce Has Tremendous ROI
The pressure that businesses today are under to reduce costs, improve agility, and deliver better results is no joke. Couple that with rapidly evolving technology…