IPA: /ˈmɒd.ən.li/
KK: /ˈmɒdərnli/
In a way that is current or contemporary, reflecting the ideas and styles of the present time.
The building was designed modernly, incorporating sleek lines and open spaces.
Modernly → It is formed from "modern" (from Latin *modernus*, meaning of the present time) and the suffix "-ly" (meaning in a manner). The word "modernly" means in a manner that is characteristic of the present time.
Think of 'modern' as relating to the present, and '-ly' indicating a manner. So, modernly means doing something in a way that reflects current times.