It's obvious for us, that $\frac{dy}{dx}$ can also be written as $\frac{d}{dx}y$, but skimming through Leibniz or Eulers writings I couldn't see them write the latter. I speculate that this change happened out of laziness, when the expression for $y$ became very long, but I wonder if it was also related with a shift of perspective from treating $d$ as the main operator (Leibniz and Euler) to treating $d/dx$ as main one (maybe starting with Lagrange?).
(If this question seems to be about a triviality, consider writing $\frac{\log}{\log 2}x$ or $(\log/\log 2) x$ instead of $\frac{\log x}{\log 2}$ in an article or in front of students.)