Add a table class name to a View table
Views have the CSS class option under Advanced (third column). There you can set the class to be output to all displays of that Views or override for single Displays. 

Most themes won't output that class directly on the &lt;table&gt; element, it is usually output on a &lt;div&gt; that contains the table. 

That can be enough for styling in CSS, but if you want you can override the twig template or use the preprocess function in your theme for more control.