Bratislava works well as both. A day trip from Vienna is popular and feasible given the short distance, but staying two or more nights allows you to explore beyond the main tourist circuit, visit the castle and museums properly, and engage with the city's food and nightlife scene at a more relaxed pace.
A verified photograph is not yet available for this topic.