Designing with html vs a vector application? [on hold]

I have some ui I'd like to design. I'd like to get to the professionalism of art that is found on sites like dribbble.com. I eventually just need an image for the design I make.

I'm just wondering if I should do it with html/css (and take a screenshot) or use a vector program (my current favorite is graphic by autodesk, it works like illustrator for those that aren't familiar with it).

But what I've found difficult about designing with a vector program is let's say I'm designing a table (ie datagrid), and then I want to change the size of the rows; with a vector application I need to go and change every little vector box that makes up that grid, align the whole thing, etc.

Whereas with html I can just change the code really quick (size of rows) and see the result without as much work. So I'm just wondering for ui designers if they ran into this issue and what have they done? maybe there's something I'm missing?