d3 drawing rectangles and dragging

Can we put static styling in the stylesheets?