Good question, a very smart way to work with css. You would usually use this by adding classes to the body tag or main div container.
:
View::composer('*', function($view){
View::share('view_name', $view->getName());
});
:
<?php echo str_replace('.','-',$view_name);?>
<?php echo str_replace('.','-',Route::currentRouteName());?>
, .