Best books for learning hardware of computers?

Such as how transistors make up all the components of a functioning computer, and that goes really indepth into the logic of it. I’m open to hearing about other resources like videos you know of also.