toastr 通知を div の途中に表示しようとしています。this oneのようないくつかの提案を見てきましたが、div 内ではなく、ウィンドウ全体に基づいてセンタリングされています。
toastr がフォーム上の要素について何も知らない場合、トースト通知をフォーム要素内の中央に配置することは可能ですか?
私の最近の試みは、トーストをページ内のほぼ中央に配置することでしたが、特定の div 内に中央に配置したいと考えています。それは可能ですか?もしそうなら、どのように?
これは私のセンタリングの試みです:
.toast-center {
top: 50%;
left: 40%;
}