Fungsi “object-fit:cover” pada CSS
<!DOCTYPE html> <html> <body> <style> .cover-object-fit { width:200px; height:300px; object-fit:cover; object-position: 50% 50%; /* default value: image is centered*/ object-position: 0 0; /* positioned top left of the content box...