ID berakhir dengan CSS

/*
	This will select all div elements with an ID 
	ending with -my-id using [arrtibute$=value] 
*/
div[id&="-my-id"] {
	/* add styles here */ 
}
CoderHomie