Synchronization in complex networks has attracted lots of interest in various fields. We consider synchronization in time-varying networks, in which the weights of links are time varying. We propose a useful approach--i.e., the matrix measure approach--to derive some analytically sufficient conditions for synchronization in time-varying networks. These conditions are less conservative than many existing synchronization conditions. Theoretical analysis and numerical simulations of different networks verify our main results.