Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

css react

import "./FileName.css"; // import your css file

// or css inside your react file
//for example:
const MyDiv = React.createClass({
  render: function() {
    const style = {
      color: 'white',
      fontSize: 200
    };
    
    return <div style={style}> Have a good and productive day! </div>;
  }
});
 
PREVIOUS NEXT
Tagged: #css #react
ADD COMMENT
Topic
Name
2+2 =