Styling tips and tricks

Now that we have an idea how CSS works, we can build on this logic to create some working styles for our application:

  • We'll begin by studying some of the bad patterns we need to avoid. We'll look at how they impact styles and further development negatively.
  • Next, we'll look into some good practices, such as using responsive design and normalizing style sheets.
  • We'll look at how to organize your style sheets to make them easier to extend and troubleshoot.
  • We'll cover how to position your map wherever your application needs it.

Styling don'ts

Before I go too far with telling you what to do, let's go through a few things you should avoid. These bad design habits are typically picked up while working through beginner tutorials and ...

Get Mastering ArcGIS Server Development with JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.