background color react code example
Example 1: html background color
<html>
<body style="background-color:red;">
<p> test <p/>
<body/>
</html>
Example 2: inline style jsx
//Multiple inline styles
<div style={{padding:'0px 10px', position: 'fixed'}}>Content</div>
Example 3: backgroundcolor react
const cardStyle = {
backgroundColor: "#fff"
}
Example 4: inline style react
// Typical component with state-classes
<ul className="todo-list">
{this.state.items.map((item,i)=>({
<li
className={classnames({ 'todo-list__item': true, 'is-complete': item.complete })}>
{item.name}
</li>
})}
</ul>
// Using inline-styles for state
<li className='todo-list__item'
style={(item.complete) ? styles.complete : {}} />
Example 5: backgroundcolor react
Finally found the answer!! Go to References --> right cilck on dll file that causing the problem --> select the properties --> check the version --> match the version in properties to web config
<dependentAssembly>
<assemblyIdentity name="YourDllFile" publicKeyToken="2780ccd10d57b246" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-YourDllFileVersion" newVersion="YourDllFileVersion" />
</dependentAssembly>