css not loading after Magento 2 installation

To fix css not loading after Magento 2 installation use the following code on terminal –

sudo a2enmod rewrite
sudo service apache2 restart